Re: X11 Forwarding using Leopard
Re: X11 Forwarding using Leopard
- Subject: Re: X11 Forwarding using Leopard
- From: Greg Parker <email@hidden>
- Date: Mon, 21 Jan 2008 14:19:08 -0800
On Jan 21, 2008, at 2:03 PM, Salvatore Rappoccio wrote: On Jan 21, 2008 2:28 PM, Mark J. Reed < email@hidden> wrote: On Jan 21, 2008 2:31 PM, Salvatore Rappoccio < email@hidden> wrote: > Hi, All, > > I apologize if this has been answered, but I am having trouble getting X > forwarding to work on Leopard. I have tried the following: > > 1. Run Terminal.App > 2. ssh -Y email@hidden> > <this hangs for quite a while> > > 3. When in anywhere.com, I type "xemacs". > 4. I get the following errors: > > /tmp/launch-9pE5Sk/: unknown host. (nodename nor servname provided, or not > known) > Hi,
Thanks for the reply, see below.
Sounds like you're setting DISPLAY on anywhere.com to the value that only works locally on Leopard. Don't do that. Nothing in the login scripts on anywhere.com should touch the DISPLAY value. Let sshd set it and forget it. No, that isn't the problem, the DISPLAY variable is set correctly:
anywhere:> echo $DISPLAY localhost:14.0
I haven't changed the DISPLAY variable on the remotehost. This worked until I upgraded to Leopard.
What version of ssh are you using on the local machine? (Try `which ssh` to see if you're getting something like a Fink-installed /sw/bin/ssh.)
Leopard's ssh has extra code to deal with Leopard's DISPLAY value (which looks like "/tmp/launch-nnnnnn/:0"). I could imagine other versions of ssh printing that error when used from Leopard.
--
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden