Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

This is a question about X Windows support for Mac.

I sometimes ssh to a Linux computer, and start software there.

The software requires graphical interface (a DISPLAY).

I am curious whether it is possible to direct all graphical output from the Linux machine to my local Mac computer that I use for sshing to the Linux machine.

share|improve this question

You can X-tunnel over ssh on a mac; OS X machines all have an X server installed by default. You need to use the command ssh -X [hostname] to enable the X-tunnel, and then start the program via the shell. Typically, you do not need to specify your local display; the program should display locally automatically.

share|improve this answer
3  
This might also need X11Forwarding yes in sshd_config on your Linux box. – Arjan Oct 24 '10 at 16:53
1  
Some servers will only allow trusted connections, if so use ssh -Y. (or put ForwardX11Trusted Yes into ~/ssh/config for this host) – Doug Harris Oct 27 '10 at 19:45

Yes, yes it is. According to Apple it is optional but installed by default. There's also Xquartz

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .