tibia-client/run.sh

20 lines
361 B
Bash
Raw Normal View History

2018-03-21 05:55:51 +01:00
#!/usr/bin/env bash
SE_enforcing=`getenforce` || true
sudo setenforce Permissive || true
2018-03-28 16:57:59 +02:00
# Enable any host to connect on X Org
xhost +
2018-03-21 05:55:51 +01:00
docker run -ti --rm \
-e DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/dri \
edubart/otclient
2018-03-28 16:57:59 +02:00
# Enable any host to connect on X Org
xhost -
sudo setenforce $SE_enforcing || true