Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

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.