GNOME Bugzilla – Bug 420880
Gnome hangs on login
Last modified: 2007-10-01 04:42:37 UTC
Please describe the problem: When logging in I get a grey box in the upper left corner, and I see the splash screen, but the session hangs there (no icons appear in the splash screen). I get the following in my .xsession-errors: /etc/gdm/PreSession/Default: Registering your session with wtmp and utmp /etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "mthaddon" /etc/gdm/Xsession: Beginning session setup... SESSION_MANAGER=local/rhapsody:/tmp/.ICE-unix/17982 If I change to a virtual terminal, I notice that the there are thousands of defunct xrdb processes and the parent process that seems to be gnome-settings-manager IIRC. It seems to just keep creating more of these processes until it runs out of file descriptors. Steps to reproduce: 1. Login to gnome 2. Wait Actual results: It hangs Expected results: Login to continue and a normal gnome session to appear. Does this happen every time? Yes Other information:
Well, I'm not quite sure what fixed it - it was one of two things - either a .gtkrc-2.0 file that wasn't correctly formatted or was causing problems of some sort, or /dev/shm being too small. I'd made changes to .gtkrc-2.0 because I was trying out enlightenment and wanted to have it recognise tango icons. The /dev/shm being too small was a missing "0" in /etc/default/tmpfs, so that it was only 40MB instead of 400MB (needed for Qemu VM). My .gtkrc-2.0 that works fine, for the record, is as follows: gtk-menu-popup-delay = 0 gtk-font-name = "Bitstream Vera Sans 10" gtk-theme-name = "Clearlooks" gtk-icon-theme-name = "Tango"
For reference (in case it happens again in the future): gnome-settings-daemon is part of the control center.
This still happens to me even after doing a rm -rf ~/.* in Ubuntu Feisty. Upon editing my /etc/defaults/tmpfs, I find that my SHM was not set at all. I changed it to 400, restarted my PC and found the same problems. My ~/.gtkrc-2.0 file is non-existent, but I'm using Human themes and all the default Ubuntu fonts.
Derek: if you have the same problem, you should probably open a bug against control-center. Make sure it's the same problem, though.