Stefan Boos

Link collection and some blog posts

Follow me on GitHub

Forward X11 from Linux to macOS

The following steps helped me forwarding the DISPLAY of a linux VM hosted in Azure to my local macBook:

  1. Install XQuartz
  2. Launch XQuartz and configure XQuartz → Security to allow remote connections
  3. Restart XQuartz
  4. If you don’t want to reboot, then export DISPLAY=localhost:0.0 in the terminal you’ll use for connecting to the VM. Note, that after rebooting this is not neccessary any longer.
  5. Connect to the remote: ssh -X yourname@yourlinuxbox