[Samba] Workaround found, .Xauthority and SMB, Mounting home directory

John Newbigin jn at it.swin.edu.au
Wed May 19 04:40:38 GMT 2004

> But, note this FACT: with the home directory mounted as SMBFS ( 
> ?which
> support locking?) you cannot run X with the .Xauthority being written
> in
> home directory.  You get the following error: xauth:  error in
> locking authority file /home/ben_ford/.Xauthority

xauthority and some other tools (ice) do some strange things with hard
links to try and work better over nfs.  This breaks on smbfs unless you
are using the unix extensions.

Unfortunately, some other tools like gconf do even more stupid things
which require delete on close semantics which do not work over smbfs.
The only workaround for that is to use /tmp (or another local
filesystem) or disable locking in gconf (there are patches available and
RH might include them).


John Newbigin - Computer Systems Officer
School of Information Technology
Swinburne University of Technology
Melbourne, Australia

More information about the samba mailing list