mviereck/x11docker

x11docker ERROR: Failed to create untrusted cookie.

Hans-van-Velzen opened this issue · 4 comments

Wondering if you have seen this showing up - using the --hostdisplay flag :

x11docker ERROR: Failed to create untrusted cookie.
 Maybe your X server misses extension SECURITY.

I am working on my local machine, well behind a firewall.
Just looking for a simple way to get his up and running.

Please check the output of xdpyinfo | grep -i SECURITY. If it shows no output, than your X server is configured to not provide this extension.

Thanks for the tip @mviereck .. we have no output (missing the SECURITY extension). We are still hunting all over for some reference on how to install or enable it. This info is just not readily available. I'll be sure to post an update when we find something. This is on Ubuntu 22.04 / Pop-Os 6..

Guess this may involve patch level stuff. Here is one example: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221984 -- some older issues with SECURITY extension

If we can't figure out how to enable or install the SECURITY extension, can you please suggest a variable tweak so we can try to by-pass the secure cookie? For example, maybe there is something we can safely patch in the x11docker file?

Trusted="yes"                                   # Create trusted or untrusted cookies,  --hostdisplay uses untrusted cookies by default