There are three things that you have to consider to make your remote X applications work on your Apple machine.
The server side configuration of
SSH to allow “X11Forwarding=yes” on /etc/ssh/sshd_config (most linux boxes)
Turn on “X11” terminal application
Set the “DISPLAY” environment if it is not setup yet
export DISPLAY=127.0.0.1:0.0
or
setenv DISPLAY 127.0.0.1:0.0
And then you can ssh into your remote machine and run any X applications.
I have to run ssh with ”-Y” or ”-X” option (mostly -Y) to get this thing to work and if possible, ”-X” should not be used for your security.
Back to top
Discussion