Skip to content

Instantly share code, notes, and snippets.

@alastairhm
Created August 12, 2016 10:50
Show Gist options
  • Save alastairhm/42e5b6eee284d8129544a011e1a7903f to your computer and use it in GitHub Desktop.
Save alastairhm/42e5b6eee284d8129544a011e1a7903f to your computer and use it in GitHub Desktop.
On the Mac, create a tunnel from an open X11 port (6000) through to the local UNIX socket where XQuartz is listening for connections
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment