Subject: Re: (Off-topic) How to share a .Xauthority file?
To: Gandhi woulda smacked you <greywolf@starwolf.com>
From: Roger Brooks <R.S.Brooks@liverpool.ac.uk>
List: current-users
Date: 07/05/1999 10:44:00
On Sun, 4 Jul 1999, Gandhi woulda smacked you wrote:

>On Sun, 4 Jul 1999, Paul Goyette wrote:
>
># On Sun, 4 Jul 1999, Paul Goyette wrote:
># ...determine the user's .Xauthority file name.  I guess they never
># expected people to log in on multiple machines simultaneously!  :)
># 
>
>Actually, it seems they do -- I don't have any problems with this at work
>under the Solaris logins.
>
>...but maybe it's not doing true X authority either.

I think it is.  We have > 100 Sun workstations (all using the same NFS-mounted
/home file store), and if you log in to several of them simultaneously
the xauth cookies get *merged* into your ~/.Xauthority file, so that you
can run commands with DISPLAY pointed to any of them.  With some
implementations of xdm, the (stale) cookies used to remain in ~/.Xauthority
indefinitely (i.e. until they were overwritten the next time you logged into
the same machine).  However, since we upgraded to CDE I believe the CDE
full-screen login removes the relevant cookie when you log out of a machine.

Could it be something to do with NetBSD not really implementing NFS file
locking?  Or could the attribute-caching parameters on the NFS mounts be
wrong?


Roger

------------------------------------------------------------------------------
Roger Brooks (Systems Programmer),          |  Email: R.S.Brooks@liv.ac.uk
Computing Services Dept,                    |  Tel:   +44 151 794 4441
The University of Liverpool,                |  Fax:   +44 151 794 4442
PO Box 147, Liverpool L69 3BX, UK           | 
------------------------------------------------------------------------------