aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorname <[email protected]>2020-06-05 18:41:37 +0000
committername <[email protected]>2020-06-05 18:41:37 +0000
commit062b2133fcde23f58985b17d284ceb1dac292cad (patch)
tree2f16f53dce87973010b0d87a09763c86ff25f56a
parentAdditional troubleshoots (diff)
downloaddocker-osx-062b2133fcde23f58985b17d284ceb1dac292cad.tar.xz
docker-osx-062b2133fcde23f58985b17d284ceb1dac292cad.zip
x11 xhost
-rw-r--r--Dockerfile2
-rw-r--r--README.md16
2 files changed, 17 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3cd1da1..35311e7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-#/usr/bin/docker
+#!/usr/bin/docker
# ____ __ ____ ______ __
# / __ \____ _____/ /_____ _____/ __ \/ ___/ |/ /
# / / / / __ \/ ___/ //_/ _ \/ ___/ / / /\__ \| /
diff --git a/README.md b/README.md
index a17a0b2..bb4d114 100644
--- a/README.md
+++ b/README.md
@@ -89,8 +89,24 @@ docker start xxxxxxx
```
# Troubleshooting
+
+libgtk permissions denied error, thanks @raoulh + @arsham
```
+echo $DISPLAY
+
+# ARCH
+sudo pacman -S xorg-xhost
+
+# UBUNTU DEBIAN
+sudo apt install x11-xserver-utils
+
+# CENTOS RHEL FEDORA
+sudo yum install xorg-x11-server-utils
+
+# then runx
+host +
+docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ./OpenCore-Boot.sh
```
Alternative run, thanks @roryrjb