Sometimes DISPLAY is :0, sometimes :1, sometimes higher.
Seems to be related to reboots of the machine, but might also occurs on service restart.
It doesn't happen every time so it's hard to pin down the conditions.
Tested on x86 with service installed from dockerhub.
Sometimes DISPLAY is :0, sometimes :1, sometimes higher.
Seems to be related to reboots of the machine, but might also occurs on service restart. It doesn't happen every time so it's hard to pin down the conditions.
Tested on x86 with service installed from dockerhub.
Note that there's always only one entry in
/tmp/.X11-unix/
but not alwaysX0
My current workaround is to add this to my service start script :