Skip to content

Commit

Permalink
Use user instead of root account to mount Xauthority to docker
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Agar <daniel@agar.ca>
  • Loading branch information
Martin-Schlodinski and dagar authored Aug 23, 2024
1 parent ed7282d commit b3dcac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ docker run -it --rm -w "${SRC_DIR}" \
--env=TRAVIS_BUILD_ID \
--env=DISPLAY \
--volume /tmp/.X11-unix:/tmp/.X11-unix \
--volume $HOME/.Xauthority:/home/root/.Xauthority \
--volume $HOME/.Xauthority:/home/user/.Xauthority \
--publish 14556:14556/udp \
--volume=${CCACHE_DIR}:${CCACHE_DIR}:rw \
--volume=${SRC_DIR}:${SRC_DIR}:rw \
Expand Down

0 comments on commit b3dcac0

Please sign in to comment.