x forwarding?

Alan Coopersmith alan.coopersmith at oracle.com
Wed Mar 14 12:49:03 PDT 2012


On 03/14/12 08:24 AM, gene heskett wrote:
> I was pointed at the xauth command to fix this, but that man page has to
> rank near the top for all time obtuseness, and when executed on the non-
> working machine, returns:
>
> gene at lathe:~$ pwd
> /home/gene
> gene at lathe:~$ xauth list
> xauth:  creating new authority file /home/gene/.Xauthority
> gene at lathe:~$ cat .Xauthority
> cat: .Xauthority: No such file or directory

That's a misleading message, fixed a couple years ago in the xauth sources:
http://cgit.freedesktop.org/xorg/app/xauth/commit/?id=1c701094169b6e33f7faf21a269e949bf134a326
and included in xauth-1.0.5 and later releases.

Also note that a number of systems now no longer use $HOME/.Xauthority but
instead set the XAUTHORITY environment variable in your session to a
session specific file in /var for a variety of reasons, and if you're trying
to access xauth cookies from outside that session you'll need to find the
XAUTHORITY value in that session to match it.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc



More information about the xorg mailing list