Enable any client connect to X host
This commit is contained in:
parent
251c937b7e
commit
d03ffc1f26
6
run.sh
6
run.sh
|
@ -4,10 +4,16 @@ SE_enforcing=`getenforce` || true
|
||||||
|
|
||||||
sudo setenforce Permissive || true
|
sudo setenforce Permissive || true
|
||||||
|
|
||||||
|
# Enable any host to connect on X Org
|
||||||
|
xhost +
|
||||||
|
|
||||||
docker run -ti --rm \
|
docker run -ti --rm \
|
||||||
-e DISPLAY \
|
-e DISPLAY \
|
||||||
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
-v /tmp/.X11-unix:/tmp/.X11-unix \
|
||||||
--device /dev/dri \
|
--device /dev/dri \
|
||||||
edubart/otclient
|
edubart/otclient
|
||||||
|
|
||||||
|
# Enable any host to connect on X Org
|
||||||
|
xhost -
|
||||||
|
|
||||||
sudo setenforce $SE_enforcing || true
|
sudo setenforce $SE_enforcing || true
|
||||||
|
|
Loading…
Reference in New Issue