• 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: dp <email@hidden>
  • Date: Mon, 22 Mar 2010 20:48:43 -0700

On 3/22/10 8:20 PM, dp wrote:
On 3/22/10 8:16 PM, dp wrote:

The same warning occurs when using the OS X terminal tool so it's an X11
or ssh problem but not an xterm problem.

dp

Setting XAuthLocation in the ssh_config doesn't help but should. Indeed the path to xauth is hard coded:

bash-3.2$ strings /usr/bin/ssh |grep xauth
/usr/X11R6/bin/xauth
xauthlocation
No xauth program.
%s/xauthfile

Setting it on the command line doesn't work, either.


I used script to capture the output of ssh -vvv:

debug2: x11_get_proto: /opt/X11/bin/xauth -f /tmp/ssh-t4Ld83edOO/xauthfile generate /tmp/launch-S8DVMZ/org.macosforge.xquartz:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null

So the right version of xauth is found.

Running that command at the command line fails (no such directory in /tmp, of course). That error looks like this:

bash-3.2$ /opt/X11/bin/xauth -f /tmp/ssh-t4Ld83edOO/xauthfile generate /tmp/launch-S8DVMZ/org.macosforge.xquartz:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2

/opt/X11/bin/xauth:  error in locking authority file /tmp/ssh-t4Ld83edOO/xauthfile


Running ssh -Y will remove one of the two warnings. This remains:

Warning: No xauth data; using fake authentication data for X11 forwarding.


Running ssh -X leaves both warnings:

Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.

dp
_______________________________________________
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: Jonas Maebe <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>)

  • Prev by Date: Re: minimization bug
  • Next by Date: Re: minimization bug
  • 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