• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No xauth data; using fake authentication data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: No xauth data; using fake authentication data
      • From: Jeremy Huddleston <email@hidden>
References: 
 >No xauth data; using fake authentication data (From: Doug Carter <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: Marco S Hyman <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: dp <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: dp <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: dp <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: Jonas Maebe <email@hidden>)
 >Re: No xauth data; using fake authentication data (From: dp <email@hidden>)

  • Prev by Date: Re: No xauth data; using fake authentication data
  • Next by Date: Re: No xauth data; using fake authentication data
  • Previous by thread: Re: No xauth data; using fake authentication data
  • Next by thread: Re: No xauth data; using fake authentication data
  • Index(es):
    • Date
    • Thread