From c047d360b10cad619ae2b6fad87930b5673ba239 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Fri, 25 Sep 2020 12:49:07 -0400 Subject: [PATCH] Update README --- README.md | 2 ++ run.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index db2edf66..f92ea9fe 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes virgl_test_server & PID="$!" +xhost local:root + sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi kill "${PID}" diff --git a/run.sh b/run.sh index 4d155cf9..7fdc95c2 100755 --- a/run.sh +++ b/run.sh @@ -5,6 +5,8 @@ set -e virgl_test_server & PID="$!" +xhost local:root + sudo docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -v /tmp/.virgl_test:/tmp/.virgl_test -v ~/.minecraft-pi:/root/.minecraft -e DISPLAY=unix${DISPLAY} thebrokenrail/minecraft-pi kill "${PID}"