diff --git a/README.md b/README.md index 91faed6..dc46dc5 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ prepare_docker_ipc_host_sharing() { prepare_docker_x11_host_sharing() { # X11 Unix-domain socket MOUNTS+=" --mount type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix" - ENV_VARS+=" --env=DISPLAY=unix${DISPLAY}" + ENV_VARS+=" --env=DISPLAY=${DISPLAY}" # Credentials in cookies used by xauth for authentication of X sessions MOUNTS+=" --mount type=bind,source=${XAUTHORITY},target=${XAUTHORITY}" ENV_VARS+=" --env=XAUTHORITY=${XAUTHORITY}" diff --git a/run.sh b/run.sh index f153803..7cd0413 100755 --- a/run.sh +++ b/run.sh @@ -91,7 +91,7 @@ prepare_docker_ipc_host_sharing() { prepare_docker_x11_host_sharing() { # X11 Unix-domain socket MOUNTS+=" --mount type=bind,source=/tmp/.X11-unix,target=/tmp/.X11-unix" - ENV_VARS+=" --env=DISPLAY=unix${DISPLAY}" + ENV_VARS+=" --env=DISPLAY=${DISPLAY}" # Credentials in cookies used by xauth for authentication of X sessions MOUNTS+=" --mount type=bind,source=${XAUTHORITY},target=${XAUTHORITY}" ENV_VARS+=" --env=XAUTHORITY=${XAUTHORITY}"