![]() Open a socket on that port and keep the terminal open $ socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" 3. If there is anything, just kill the process 2. On a new terminal, verify if there's anything running on port 6000 $ lsof -i TCP:6000$ You will need at 2 terminals open: one for the socat with the display and the other for running the UI container.The following error is related to when you don't: E connect(5, LEN=2 AF=1 "", 2): Invalid argument $ socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"4 17:28:58 socat E connect(5, LEN=2 AF=1 "", 2): Invalid argument Instructions Don't forget to close logout and log back in.ĪTTENTION: At this point, make sure to reboot your host (MacOS for instance).Make sure to install XQuartz (Updated with 2021 change) $ brew install socat$ brew install -cask xquartz Docker version docker version 18.06.1-ce.Running version XQuartz 2.7.11 (xorg-server 1.18.4).Went through all the pain to get the simplest version possible that does not depend on checking port, ip, etc. Dockerized UI Apps in Docker for Desktop MacOS 2018 .
0 Comments
Leave a Reply. |