From 5f0545da8cc69e002fc933f0ae6bd34e4135d4d0 Mon Sep 17 00:00:00 2001 From: campmccl <52137472+jcrm1@users.noreply.github.com> Date: Sun, 5 Nov 2023 21:30:04 -0500 Subject: [PATCH] Update docker-run.sh --- docker/docker-run.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/docker-run.sh b/docker/docker-run.sh index 5f3a67e17..32a5d2934 100755 --- a/docker/docker-run.sh +++ b/docker/docker-run.sh @@ -4,7 +4,9 @@ WS_DIR=$(realpath $(dirname $0)/../../../) REPO_NAME="purduearc/rocket-league" CONTAINER_NAME="${CONTAINER_NAME:-$USER-arc-rocket-league-dev}" MY_DISPLAY=$([ $(uname -s) == 'Darwin' ] && echo "host.docker.internal:0" || echo "$DISPLAY") +XAUTHORITY="$HOME/.Xauthority" echo "Using display $MY_DISPLAY" +echo "Using $XAUTHORITY as Xauthority" echo "mounting host directory $WS_DIR as container directory /home/$USER/catkin_ws" # tty-specific options