Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I ssh into a server using ssh -X, I can run a command which opens a graphical application and the window will show on my current computer.

I want the same to happen when I ssh into a normal desktop computer (specifically a mac). Like this, ssh -X However, when I do this it just loads the window on the remote machine - not my current machine.

share|improve this question
up vote 1 down vote accepted

Mac OS X native graphics isn't X11-based and can't be forwarded. And nobody can write a third party forwarder because the WindowServer <-> Core Graphics interface is undocumented and deeply tangled (per Jeremy Huddleston, the poor person who maintains XQuartz and has to try to make X11 stuff behave halfway sanely on OSX; check the archives).

share|improve this answer
Do you know of any other way to forward graphics on OSX? I'm connecting from a mac to a mac, so doesn't HAVE to be X11. – Matt Mar 23 '11 at 21:04
You can turn on the built-in VNC server in System Preferences > Internet and Wireless > Sharing > Remote Management > Computer Settings... — but the built-in server is slow and unstable (that is, it has a tendency to crash when used for anything complex). Vine Server is a popular alternative that works well. For the client, you can use the built-in Screen Sharing (which is hidden in /System/Library/CoreServices/Screen or install a third party VNC client such as JollysFastVNC. – geekosaur Mar 23 '11 at 21:11
BTW, Apple's own Remote Desktop product is little more than a glorified VNC server/client, so you're not actually missing much by going that route. (And it's also an indication that hooking the WindowServer for remote display is something even Apple won't attempt.) – geekosaur Mar 23 '11 at 21:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.