Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X11 Forwarding using Leopard





On Jan 21, 2008 4:19 PM, Greg Parker <email@hidden> wrote:
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.


-- 
Greg Parker     email@hidden     Runtime Wrangler

Hi, Greg,

Yes, I think this is the problem. I'm using a site-specific ssh version which is used to be compatible with an older version of kerberos.

Thanks for your help,
Sal

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden

References: 
 >X11 Forwarding using Leopard (From: "Salvatore Rappoccio" <email@hidden>)
 >Re: X11 Forwarding using Leopard (From: "Mark J. Reed" <email@hidden>)
 >Re: X11 Forwarding using Leopard (From: "Salvatore Rappoccio" <email@hidden>)
 >Re: X11 Forwarding using Leopard (From: Greg Parker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.