hi everyone! recently i tried to run a simple gui app in docker: docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix aliustaoglu/firefox but all i got is this error: No protocol specified error: XDG_RUNTIME_DIR not set in the environment. Error: cannot open display: :1 Did anybody have something like this?
Hi Adam, I’ve heard xpra works well for this purpose: https://xpra.org/trac/wiki/Usage/Docker Hope that helps, John
[-- Attachment #1: Type: text/plain, Size: 440 bytes --] Hi, Adam Kandur via <help-guix@gnu.org> writes: > Recently I tried to run a simple gui app in docker: > docker run --rm -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix aliustaoglu/firefox > > but all i got is this error: > No protocol specified > error: XDG_RUNTIME_DIR not set in the environment. > Error: cannot open display: :1 Did you run ‘xhost +local:’ or similar command to give access to a Xorg session? Oleg. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --]