After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 420880 - Gnome hangs on login
Gnome hangs on login
Status: RESOLVED NOTABUG
Product: gnome-session
Classification: Core
Component: gnome-session
unspecified
Other All
: Normal critical
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-21 06:42 UTC by Tom Haddon
Modified: 2007-10-01 04:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Tom Haddon 2007-03-21 06:42:39 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:
Comment 1 Tom Haddon 2007-03-23 00:50:24 UTC
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"
Comment 2 Vincent Untz 2007-03-23 14:57:50 UTC
For reference (in case it happens again in the future): gnome-settings-daemon is part of the control center.
Comment 3 Derek Buranen 2007-03-26 03:30:18 UTC
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.
Comment 4 Vincent Untz 2007-05-11 17:19:13 UTC
Derek: if you have the same problem, you should probably open a bug against control-center. Make sure it's the same problem, though.