I have a number of client machines, all running Ubuntu, and recently upgraded to 13.04. I also have a Slackware-based server which includes an nfs service.
What I am aiming to do is to have access to all my documents from any client. I have copied my entire $HOME
directory to the fileserver. I have used usermod -d
to set my home directory to the appropriate area on the server. I use autofs
to mount remote directories, so the full path is /net/tower/mnt/user/UserHome/peter
.
If I log in via a text console, all is fine – my files are accessible and writable. However, if I log in via desktop, I get an error:
Could not update ICEauthority file with the full path/filename for the .ICEauthority file.
I have ensured that ownership and priveledges/permissions on the file are correct. I have tried deleting the file, I have tried creating an empty file from a text console – I still get the error.
Either I have to find a way of getting past this error, or find a way to change my $HOME
after login (from my .profile
?).
Can anyone help me?
Best Answer
My advice won't solve all your problems, but you may find it enough. You could have only a bunch of directories in the NFS server. i.e., the Documents directory. To do so, mount your nfs server home somewhere like
/media/nfs_server/home
. Then change the contents of the file~/.config/user-dirs.dirs
There you can change the Documents default dir and set it to your NFS server home:
You should have something like:
Change it to:
Replace it to where you really mount your NFS server and your real login. You could even try something like:
/media/nfs_server/$HOME/Documents
, but it depends of your server directories.Hope this helps.