KDE or GNOME graphical login manager hates my NIS configured automount directories

by on May 11, 2006 · 1 comment· Last updated May 11, 2006

The Network Information Service or NIS is Sun Microsystems' "Yellow Pages" (YP) client-server directory service protocol for distributing system configuration data such as user and host names between computers on a computer network.

When students try to login using GNOME or KDE desktop graphical login manager it dump back error:
Cannot load user preferences from /home/username

User home directory is on NFS server and it will be mounted only after login procedure. NIS based automount works under text based login. But, when it comes to graphical login; it will dump back above error.

To fix this error you need to edit /etc/nsswitch.conf file and force automount to use NIS database:

# vi /etc/nsswitch.conf

Set automount as follows:

automount: nis files

Now Linux graphical login manager will accept logins without any error.



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 Prasad November 3, 2006 at 8:24 pm

Wonderful, I was searching the net for many hours.. Worked flawlessly.

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 11 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: