Re: 2.5.0 Displayname
Re: 2.5.0 Displayname
- Subject: Re: 2.5.0 Displayname
- From: Doug Carter <email@hidden>
- Date: Tue, 30 Mar 2010 07:37:33 -0700
On Tue, Mar 30, 2010 at 03:24:13PM +0100, Peter Collinson wrote:
> 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??
Peter,
We've already had a very long discussion about this problem. It's best to leave it alone
and just ignore the message. Don't mess with the display setting, as this could cause
other unintended problems. This problem will be addressed in a future release.
Doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden