Linux – X11 forwarding from OSX to Linux

forwardinglinuxmac-osxremote-accessx11

I've done some searching and found that it seems to be possible to forward X11 apps to a mac machine over ssh (i.e. ssh-ing into a linux box and launching an X11 app and having it show up on the mac's display).

What I'm wondering is if this can be done in reverse (i.e. ssh-ing into a mac machine and launching an app and having it show up on a linux display). If this is possible, how do I go about setting it up, and more importantly which OS X apps will this work for?

Best Answer

These instructions should work, but I've just spent the last hour and haven't got it to work yet.

Also, you may want the latest version of X11 for Mac, XQuartz.

edit

XQuartz 2.3.3.2 (xorg-server 1.4.2-apple42), has, under Preferences, a Security tab, with an option called "Allow connections from network clients". I suspect that this setting will make a difference.