x11docker icon indicating copy to clipboard operation
x11docker copied to clipboard

x11docker ERROR: Failed to create untrusted cookie.

Open Hans-van-Velzen opened this issue 2 years ago • 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.

Hans-van-Velzen avatar May 17 '23 22:05 Hans-van-Velzen

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.

mviereck avatar May 18 '23 06:05 mviereck

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..

jcalfee avatar May 18 '23 21:05 jcalfee

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

Hans-van-Velzen avatar May 18 '23 21:05 Hans-van-Velzen

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

jcalfee avatar May 18 '23 21:05 jcalfee