You are not logged in.
Pages: 1
Hi;
Does anyone know of any ways to display a docker GUI application through X11?
I have had success passing xauth a magic cookie...
sudo docker run -d --name=GUI-instance -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix GUI-Instance bash -c "xauth add etc...MIT-MAGIC-COOKIE-1..etc.. & run_GUI"But after a restart the cookies change and it no longer displays.
Presumably this means, I will have to
A: Create temporary docker each time, rather than a saved one
B: Somehow extract that cookie from xauth list with some sort of string manipulation
Is there an easier way?
Offline
why ? what are you trying to do ? there will be a better way im sure
Offline
I'm trying to run a GUI application in docker
Offline
Pages: 1