
#MAC XQUARTZ X11 FORWARDING HOW TO#
Information on their github and sourceforge repositories and how to modify the code is located in various spots on their website. First, check if you have an XQuarts version that supports this feature. XQuartz can run on newer mac os like Big Sur but not from the pre-compiled installer without some modification. If you need to do X11 Forwarding on a Mac post MacOS 10.16/11.0 Big Sur or later, it is highly recommend you use some other application other than terminal such as iterm2 In order to do X11 Forwarding on Macs prior to MacOS 10.15.6 Catalina, you will need to make sure you have XQuartz installed. Macs have not included a full version of SSH for almost a decade as of 2020 and due to MacOS Catalina and later requiring 64 bit apps, many easily installed work arounds no longer function. Unless you are specifically learning about ssh and x11 forwarding for class, there are newer and easier methods of doing everything X11 was previously used to do. X11 forwarding allows a user to launch applications and see a graphical representation of the application running on a remote machine.
#MAC XQUARTZ X11 FORWARDING FOR MAC#
Note that you can set up X11 forwarding the same way as described for Mac OS.

This was solved by entering the following on the remote machine: sudo update-glx -config glx And then selecting the Mesa driver.

This article describes X11 graphical forwarding over ssh which was used prior to the implementation of remote desktop apps. If an application uses X11, XQuartz will detect it and automatically start. It seems that after doing so, some GL applications (but not glxinfo or glxgears) load Nvidias libGLX.so instead of the Mesa indirect one that should be used for GLX forwarding over ssh.
