- Install Xquartz and socat
brew install socat
brew install --cask xquartz
defaults write org.xquartz.X11 enable_iglx -bool true
defaults write org.xquartz.X11 nolisten_tcp -bool false
-
Reboot
-
Run script
docker build -t openloco-x11 .
(in another terminal) socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
./run.sh