Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'set up your ~/.ssh/config' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
set up your ~/.ssh/config
Authored by: badragoo on Aug 19, '03 10:21:41PM

So, it's months later. I came across your question because I was having the same problem. My solution was this: Before you get too far in, first make sure you can type the name of a local X11 application (something like xclock) into a prompt in your Terminal.app window and have it appear locally on your X11 desktop.

If you get a "can't open display" error when doing that, then you'll never get it working across a remote connection. So you first need to do something like this (assuming you're using the default csh shell):

setenv DISPLAY :0

This tells Terminal.app to display X11 applications in your local X11 server. Once you get that working, go ahead with your ssh connection to the Unix machine:

ssh -C -X unix.machine.here

Then try to run something simple like xclock remotely (assuming it's installed on your remote unix box. That's all I did to get it working.

-bpd



[ Reply to This | # ]