Closed CicadaSeventeen closed 2 years ago
Compare x11docker --help
:
Output of parseable information on stdout:
Get output e.g. with: read xenv < <(x11docker --showenv x11docker/check)
--showenv Print new $DISPLAY, $XAUTHORITY and $WAYLAND_DISPLAY.
X and Wayland special configuration:
--display=N Use display number N for new X server.
Thanks so much.
x11docker -- x11docker/xfce "env|grep DISPLAY > FILENAME ; xfce4-terminal" does not work at all, showing cannot find such command.
To run multiple commands, try with sh -c '...'
x11docker -- x11docker/xfce sh -c "env|grep DISPLAY > _FILENAME_ ; xfce4-terminal"
When not using
--hostdisplay
, new X server gets a newDISPLAY
variate. I try using--env DISPLAY=:100
to assign theDISPLAY
variate of the new X server, but that not work. Or else, it is OK not to assign that, however, instead, to know theDISPLAY
variate of the new X server. If I open a terminal likex11docker --exe xterm
orx11docker -- x11docker/xfce xfce4-terminal
, it is OK to useenv|grep DISPLAY
, but it does not work otherwise. So if there are anyway to get. Now the only way working I have find is likex11docker --exe "env|grep DISPLAY > _FILENAME_ ; xterm"
if I do not run program of any image. For running programs in imagesx11docker -- x11docker/xfce "env|grep DISPLAY > _FILENAME_ ; xfce4-terminal"
does not work at all, showing cannot find such command. So, if there any way to control, even if just to know, theDISPLAY
variate of the new X server?