2.5.0 Displayname
2.5.0 Displayname
- Subject: 2.5.0 Displayname
- From: Peter Collinson <email@hidden>
- Date: Tue, 30 Mar 2010 15:24:13 +0100
I've been trying to get rid of the usual annoyance in ssh.
Warning: No xauth data; using fake authentication data for X11 forwarding.
It seems that xauth objects to the DISPLAY name chosen by XQuartx.
# xauth list $DISPLAY
xauth: (argv):1: bad display name "/tmp/launch-ITUE1n/org.macosforge.xquartz:0" in "list" command
I'll bet it's the dots in the name.
whereas on my X11 2.4.0 system, the name is something like
/tmp/launch_sQsU7Q/:0
xauth works to return the cookie value.
ssh uses this command to check the display name.
I've checked this with
ssh -o 'XAuthLocation /opt/X11/bin/Xauth' -Y remote
to force the use of 2.5.0's xauth as well as without - which uses /usr/X11R6/bin/xauth.
I was using -v -v on the ssh command line to tell me what was happening.
Soooooo
Setting display to the stuff after the colon
DISPLAY=`echo -n $DISPLAY | sed -e 's/^.*:/:/'` ssh -o 'XAuthLocation /opt/X11/bin/Xauth' -Y remote
appears to work as does
DISPLAY=`echo -n $DISPLAY | sed -e 's/^.*:/:/'` ssh -Y remote
X11 clients on the remote machine seem to get back in OK.
Any good reason why I should not do this??
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden