mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-12-22 05:51:32 -06:00
x11 xhost
This commit is contained in:
parent
069548e8c6
commit
062b2133fc
@ -1,4 +1,4 @@
|
||||
#/usr/bin/docker
|
||||
#!/usr/bin/docker
|
||||
# ____ __ ____ ______ __
|
||||
# / __ \____ _____/ /_____ _____/ __ \/ ___/ |/ /
|
||||
# / / / / __ \/ ___/ //_/ _ \/ ___/ / / /\__ \| /
|
||||
|
18
README.md
18
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
|
||||
|
Loading…
Reference in New Issue
Block a user