I have a home directory mounted from a file server (OpenFiler software), with an entry in the file /etc/fstab It worked well with Ubuntu 10.04, 10.10, and 11.04 The line in the /etc/fstab file is similar to this:

192.168.0.100:/mnt/vg1/v1/users/user1 /home/user1 nfs rw,hard,intr 0 0

(I follow guidelines from here: https://help.ubuntu.com/community/SettingUpNFSHowTo )

After upgrading to 11.10, when trying to login, it returns me back to the login screen.

If I remove the entry in the fstab file, and therefore use a local home directory for that user, login works fine.

There are some other reports that suggest deleting the .Xauthority file. I tried that and it didn't help.

I thought some files may be causing trouble, so I deleted all the .* files except for some that are obviously application specific (.dropbox, .mozilla, .thunderbird, etc). Then I copied the four files that Ubuntu places in the home directory of a new user.

Any suggestion ?

link|improve this question
This question should instead be filed as a bug report, and as such is off-topic, thanks! Instructions here. – Bruno Pereira Feb 25 at 1:39
feedback

closed as off topic by bodhi.zazen, Bruno Pereira Feb 25 at 1:39

Questions on Ask Ubuntu - Stack Exchange are expected to generally relate to Ubuntu, within the scope defined in the faq.

2 Answers

I have just upgraded to 11.10 and had the same problem (my home used NIS & NFS). In my case, I had to change the permission of my home directory from 700 to 711 adding x permissions. I hope there is a more fundamental solution since I do not want to add those permissions to my private home.

link|improve this answer
feedback

I had the same problem and found the fix in a bug report... the gist of it is that you have to disable some apparmor profiles that do not play well with nfs. I ran these three commands and it fixed the problem for me, but I still have to run them each time I reboot (crtl-alt-F1, log into tty1, issue commands, ctrl-alt-f7, everything works)

here are the commands:

sudo apparmor_parser -R /etc/apparmor.d/usr.lib.telepathy
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.evince
sudo apparmor_parser -R /etc/apparmor.d/lightdm-guest-session

it's just a workaround, hopefully the bug is fixed soon

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.