Logging in via X in multiple places

aluminumsulfate at earthlink.net aluminumsulfate at earthlink.net
Tue Feb 6 13:12:30 EST 2007


> From: Paul Lussier <p.lussier at comcast.net>
> Date: Tue, 06 Feb 2007 12:57:16 -0500

> When logging into a UNIX/X system via (g,k,x)dm, said session manager
> writes "stuff" to your ~/.Xauthority file using xauth (which seems to
> be it's own sort of black magic).
> 
> In an environment where your homedirectory is NFS mounted, logging
> into multiple systems at their X-based consoles can be problematic,
> since each X session is going to clobber your One True ~/.Xauthority
> file.

The entries in .Xauthority are generally of the form
hostname/protocol:display, so as long as all of your hosts aren't
named "localhost" (they all have different hostnames), it should Just
Work.  A workaround which you could use (in case there's some reason
you don't want to do this properly) might be to make $HOME/.Xauthority
a symlink to something like /tmp/$LOGNAME.Xauthority.

> be it's own sort of black magic).

Oh, and by the way, that should be "its", not "it's". :^)



More information about the gnhlug-discuss mailing list