app_containers: Bind Xorg sockets as rw

This commit is contained in:
Peter Cai 2022-12-25 23:01:15 -05:00
parent 2fbffcda50
commit 0d9d4b363e
1 changed files with 1 additions and 1 deletions

View File

@ -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 \