From 455de5c367d3f3138a15b3faee54af3be27fe18e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 9 Nov 2020 13:05:50 +0000 Subject: [PATCH] Add options for running Wayland clients --- roles/home-cli/files/shrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 6f0d730..fd70a61 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -212,7 +212,7 @@ fi # Useful aliases for Podman and Docker alias prun="podman run --rm -it" -alias prunx="podman run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\"" +alias prunx="podman run --security-opt label=disable -v /tmp/.X11-unix/:/tmp/.X11-unix/ -e DISPLAY=\"unix\$DISPLAY\" -v /run/user/$(id -u)/:/run/user/$(id -u)/ -e XDG_RUNTIME_DIR=/run/user/$(id -u) -e PULSE_SERVER=/run/user/$(id -u)/pulse/native --ipc host" alias drun="sudo docker run --rm -it" alias drunx="sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\""