app_containers: Bind Xorg sockets as rw
This commit is contained in:
parent
2fbffcda50
commit
0d9d4b363e
|
@ -58,7 +58,7 @@ SUDO_ASKPASS=$HOME/.local/bin/askpass-bemenu sudo -A systemd-nspawn -M $CONTAINE
|
|||
--bind=$container_xdg_runtime:/run/xdg \
|
||||
--setenv=XDG_RUNTIME_DIR=/run/xdg \
|
||||
`# Xorg / Xwayland` \
|
||||
--bind-ro=/tmp/.X11-unix \
|
||||
--bind=/tmp/.X11-unix \
|
||||
--setenv=DISPLAY=$DISPLAY \
|
||||
`# Wayland (note the symlink created before in xdg runtime)` \
|
||||
--bind-ro=$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY:/run/host/$WAYLAND_DISPLAY \
|
||||
|
|
Loading…
Reference in New Issue