Sierra cuts off X11 forwarding over SSH

We use a cluster at the BESSY synchrotron to process data using XDSApp. However, upgrading to macOS Sierra stopped this dead. Logging in to the remote host was fine, but no XDS App appeared. Confounding.

The answer is that Sierra moved a component that is involved in X11 window forwarding. The X Window server (ah, SGI) runs on your own machine (as XQuartz) and the remote server just sends the updates to the GUI….sorry, did you fall asleep?

For future reference (copying liberally from the Stack Overflow answer from Christian, confirmed by Peter Edwards), we need to change one line in /etc/ssh/ssh_config

On a Mac you can use:

sudo nano /etc/ssh/ssh_config

UnderHost * :

XAuthLocation /usr/X11/bin/xauth 

Bingo. Thank you. Where would we be without Stack Overflow?

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s