About nixCraft

Topics

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

Posted by Vivek Gite [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.

E-mail this to a friend      Printable version

You may also be interested in other helpful articles:

Discussion on This Article:

  1. Prasad Says:

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

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.