Browse Source

Enable any client connect to X host

David Kennedy S. A 1 year ago
parent
commit
d03ffc1f26
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      run.sh

+ 6
- 0
run.sh View File

@@ -4,10 +4,16 @@ SE_enforcing=`getenforce` || true
4 4
 
5 5
 sudo setenforce Permissive || true
6 6
 
7
+# Enable any host to connect on X Org
8
+xhost +
9
+
7 10
 docker run -ti --rm \
8 11
        -e DISPLAY \
9 12
        -v /tmp/.X11-unix:/tmp/.X11-unix \
10 13
        --device /dev/dri \
11 14
        edubart/otclient 
12 15
 
16
+# Enable any host to connect on X Org
17
+xhost -
18
+
13 19
 sudo setenforce $SE_enforcing || true

Loading…
Cancel
Save