Re: No xauth data; using fake authentication data
Re: No xauth data; using fake authentication data
- Subject: Re: No xauth data; using fake authentication data
- From: Doug Carter <email@hidden>
- Date: Tue, 23 Mar 2010 09:59:25 -0700
On Tue, Mar 23, 2010 at 06:53:20AM -0700, dp wrote:
> On 3/23/10 2:49 AM, Jonas Maebe wrote:
> >
> >On 23 Mar 2010, at 04:48, dp wrote:
> >
> >>Running ssh -Y will remove one of the two warnings. This remains:
> >>
> >>Warning: No xauth data; using fake authentication data for X11
> >>forwarding.
> >
> >Did you try to nevertheless start an X11 program afterwards? I also get
> >that message, but everything works fine anyway.
>
> So far as I can tell things work but that's not the point. This is RC code
> and we were asked to wring it out. This is different than every X11 version
> ever and is apparently related to xauth and directories in /tmp not being
> created. User space mods (XAuthLocation) doesn't clear the warning.
OK, after some exhaustive debugging, I've found a work-around and
some (possibly) useful debug info, but not necessarily a real fix.
1. ssh is looking for XAuthLocation as /usr/X11R6/bin/xauth:
% strings /usr/bin/ssh | grep xauth
/usr/X11R6/bin/xauth
xauthlocation
No xauth program.
%s/xauthfile
This can be fixed by adding an entry to ~/.ssh/config:
Host *
ForwardX11 yes
XAuthLocation /opt/X11/bin/xauth
2. There is also something related to the default $DISPLAY setting:
/tmp/launch-kf04BN/org.macosforge.xquartz:0
In earlier versions, it was set to something like this:
/tmp/launch-kf04BN/:0
The workaround is to find the display number X is using, in my case ":3"
and set the DISPLAY variable to it:
export DISPLAY=:3
After making these changes, the warning message goes away.
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