Jason Edgecombe wrote: > hi everyone, > > I'm using nss_db to store more of the user account info instead of using > /etc/passwd. Only the system accounts are in /etc/passwd, while the > 1000+ user accounts are in /var/db/passwd.db. I have set > /etc/nsswitch.conf to contain "passwd: files db" and "passwd: db files", > but either way, gnome-session takes 20+ seconds to load. I can login > normally at a text login prompt and the KDE login is fast, like <2 > seconds. The gnome-session is fast, but only if I put the user's info > into /etc/passwd. "getent passwd user >> /etc/passwd" is the command > that I have used to do that. I'm baffled as to why gnome-session is not > playing nicely with nss_db. Things are OK about a minute after login, > but the gnome login is horribly slow when the user's info isn't in > /etc/passwd. > >
I've seen problems with GDM Logins when the /etc/hosts file had an incorrect 'localhost' line. Is this StaticIP or DHCP? Not sure if it's related to your nss_db or nsswitch.conf, but GDM is picky about LocalHost-127.0.0.1, Hostname & DNS settings. /etc/hosts - StaticIP # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 myhost.domain myhost localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 Jason Edgecombe wrote: I finally found some useful Logs in ~/.xsession-errors: /var/run/utmp -x "/var/gdm/:0.Xservers" -h "" -l ":0" "trng02" localuser:trng02 being added to access control list No profile for user 'trng02' found SESSION_MANAGER=local/lws10:/tmp/.ICE-unix/3522 Connecting to system bus failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. No profile for user 'trng02' found... Can GDM get to $HOME? Does this work on a clean homedir as a new user? You might try removing some .ICEauthority files & .Xauthority files from the users $HOME as they should be recreated properly at login. -HTH [EMAIL PROTECTED] _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
