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: Warning: No xauth data; using fake authentication data for X11 forwarding.




On 11 Nov 2007, at 17:28:59, Ben Byer wrote:

On Nov 11, 2007, at 10:23 AM, Merton Campbell Crockett wrote:

While I could establish a connection with the error being reported, I could not run an xterm or any application on the remote system that would open an X window. I had to restore the "export DISPLAY=: 0.0" to ~/.bash_profile.

Don't do that, you'll be sorry...


Actually, it was necessary until I downloaded and installed the new version of XQuartz. After that was accomplished, I could get rid of the above statement.

Okay, try these SSH troubleshooting steps. This list shows the expected behavior of the system.

local $		refers to commands run on my local Mac running Leopard

remote $ 	refers to commands run on a remote Unix machine, of any type

[1] local $ echo $DISPLAY
/tmp/launch-Bh0fLm/:0
[2] local $ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/ environment.plist 2>/dev/null
[3] local $ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null
[4] local $ ssh -Y remote
Warning: No xauth data; using fake authentication data for X11 forwarding.
[5] remote $ echo $DISPLAY
localhost:10.0
[6]remote $ grep X11 /etc/ssh/sshd_config ~/.ssh/*
X11Forwarding yes
X11DisplayOffset 10


spielzeit:~ mcc$ cat typescript
Script started on Sun Nov 11 18:20:32 2007

bash-3.2$ echo $DISPLAY
/tmp/launch-yAZMCs/:0

bash-3.2$ grep DISPLAY ~/.*rc ~/.login ~/.*profile ~/.MacOSX/ environment.plist 2>/dev/null
/Users/mcc/.bash_profile:#export DISPLAY=:0.0


bash-3.2$ grep -r DISPLAY /opt/local/etc /sw/etc /etc 2>/dev/null

bash-3.2$ ssh -Y raid.my.domain.com
email@hidden's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.


raid.my.domain.com.1-> echo $DISPLAY
localhost:10.0

raid.my.domain.com.7-> grep X11 /etc/sshd_config ~/.ssh/*
/etc/sshd_config:X11Forwarding yes
/etc/sshd_config:X11DisplayOffset 10

raid.my.domain.com.8-> exit
logout
Connection to raid.my.domain.com closed.

bash-3.2$ exit
exit

Script done on Sun Nov 11 18:26:10 2007
spielzeit:~ mcc$

I believe the above is consistent with your output.


Merton Campbell Crockett email@hidden



_______________________________________________
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: 
 >Warning: No xauth data; using fake authentication data for X11 forwarding. (From: Merton Campbell Crockett <email@hidden>)
 >Re: Warning: No xauth data; using fake authentication data for X11 forwarding. (From: Nathan <email@hidden>)
 >Re: Warning: No xauth data; using fake authentication data for X11 forwarding. (From: Merton Campbell Crockett <email@hidden>)
 >Re: Warning: No xauth data; using fake authentication data for X11 forwarding. (From: Ben Byer <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.