gdm hangs after theme upgrade and reboot

Bug #210538 reported by Andrew Oakley
96
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Medium
Unassigned
ubuntu-gdm-themes (Ubuntu)
Fix Released
High
Unassigned

Bug Description

After today's update (1 Apr 2008, no this is not an April Fools joke), GDM hangs upon reboot. It is impossible to log in graphically.

GDM hangs immediately prior to the greeter with a rotating busy pointer. Pointer moves with mouse. Keyboard is unresponsive except I can switch to console sessions with CTRL-ALT-F(1-etc) and can restart X with CTRL-ALT-Backspace (but GDM just hangs again in same manner).

If I switch to the console with CTRL-ALT-F1, I can login but issuing sudo /etc/init.d/gdm restart doesn't fix the problem.

I can also login via SSH over the network.

Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

This is on a Dell Inspiron 1520 laptop with Intel X3100 (i965) graphics.

Revision history for this message
Simon Kent (simonkent) wrote :

Same issue as above, on Toshiba Equium M50 216, Intel i915 graphics card

Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

This appears to be related to the GDM face browser / graphical greeter. Simon, were you using the face browser?

Lots of discussion here:
http://ubuntuforums.org/showthread.php?t=742511

Workaround is to go into console, manually reconfigure GDM to use the standard greeter.

1.Press Ctrl-Alt-F1

2. Log in as an administrative user (someone who can use sudo)

3. Edit gdm.conf eg: sudo nano /etc/gdm/gdm.conf

4. Search for: Greeter=/usr/lib/gdm/gdmgreeter
and change this to: Greeter=/usr/lib/gdm/gdmlogin

Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

Forgot to add:

5. Restart GDM with: sudo /etc/init.d/gdm restart
...or just reboot your PC.

Changed in gdm:
status: New → Confirmed
Revision history for this message
Simon Kent (simonkent) wrote :

Ok, thanks for the workaround, I'll give it a try. Yes, I was using the GDM face greeter.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you stop using the title to specify the version you are using, that creates confusion and extra work when the next ubuntu will be available

Changed in gdm:
importance: Undecided → High
Revision history for this message
Andreas Hannig (andreash) wrote :

I had the same problem this morning.

cp /usr/share/themes/Human/gtk-2.0/gtkrc /usr/share/themes/Human/gtk-2.0/gtkrc.en

fixed the problem for me.

Revision history for this message
Saivann Carignan (oxmosys) wrote :

This bug does not happen with the default ubuntu gdm theme but it always happen with the Human List theme, in my case.

Revision history for this message
Étienne BERSAC (bersace) wrote :

Hi,

I'm the HumanList theme writer. This bug appear unexpectedly. gdmthemetester is also concerned. Where to find debug info ?

Regards,
Étienne.

Revision history for this message
Étienne BERSAC (bersace) wrote :

Hrm,

So, gdmthemetester console HumanList hang, but gdmthemetester console . in HumanList dir works. How to fix that ???

Étienne.

Revision history for this message
Andreas Hannig (andreash) wrote :

I have debugged gdm with:

strace -f gdm --nodaemon

When the gdmgreeter starts up you can see that it reads the same config files in a loop.
It does not stop if it is not able to open the files.

Revision history for this message
gerstrong (gerstrong) wrote :

Same Problem here. gdmgreeter is the problem!

Revision history for this message
fragro (frank-grossmann) wrote :

Same here!

Revision history for this message
Sebastien Bacher (seb128) wrote :

downgrading ubuntulooks workaround the issue

Revision history for this message
Nick Russell (thatnick) wrote :

For me, on my desktop it does get to the login screen eventually, but it takes about 5 mins. On my laptop its been stuck for about 30 mins (so far...) however.

Revision history for this message
Jon Leighton (jonleighton) wrote :

Same problem here... "apt-get remove ubuntu-gdm-themes" is a workaround as it's that theme which causes the problem.

Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

Andreas' workaround of:

sudo cp /usr/share/themes/Human/gtk-2.0/gtkrc /usr/share/themes/Human/gtk-2.0/gtkrc.en

...seems to work far better than my gdmlogin workaround.

I'm guessing this is a spelling mistake somewhere - missing .en off the end of /usr/share/themes/Human/gtk-2.0/gtkrc.en

Revision history for this message
Sebastien Bacher (seb128) wrote :

could be similar to bug #147045

Revision history for this message
Sebastien Bacher (seb128) wrote :

Commenting the HumanList gtkrc gtk_color_scheme = line workaround the issue, does anybody knows why this theme is not using the same gtkrc as Human and if the line can be commented? the theme seems to not change when it's commented

Revision history for this message
Alessandro Guido (iro) wrote :

Thanks Sebastian!
commenting that line in /usr/share/gdm/themes/HumanList/gtk-2.0/gtkrc worked for me.

Revision history for this message
SFN (sfnative33) wrote :

"commenting that line in /usr/share/gdm/themes/HumanList/gtk-2.0/gtkrc worked for me."

I can confirm the same results here, although I'm using UbuntuStudio so what I had to change was "/usr/share/gdm/themes/UbuntuStudio/gtk-2.0/gtkrc".

Tried earlier suggested workaround of

sudo cp /usr/share/themes/Human/gtk-2.0/gtkrc /usr/share/themes/Human/gtk-2.0/gtkrc.en

again substituting "UbuntuStudio" for "Human" but it didn't help. In fact it didn't result in /usr/share/themes/Human/gtk-2.0/gtkrc.en existing even though I received no errors.

For the record, I'm on an Acer TravelMate 8210-6245. (Intel Core 2 Duo T5500, 2GB DDR2 RAM, ATI Mobility Radeon X1600)

Revision history for this message
schnittchen (schnittchen) wrote :

I started having such a problem today, notably gdmgreeter is hanging with 100% cpu usage.

An easy workaround was moving /usr/lib/gdm/gdmgreeter out of the way and restarting gdm with
sudo /etc/init.d/gdm restart

Revision history for this message
schnittchen (schnittchen) wrote :

The above .en file ending thing

https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/210538/comments/7

did not work for me. Shall I report a separate bug?

Revision history for this message
Kenneth Wimer (kwwii) wrote :

replaced gtkrc with a hard-coded color value gtkrc

Changed in ubuntu-gdm-themes:
status: Confirmed → Fix Committed
Revision history for this message
Andrew Oakley (andrew-aoakley) wrote :

Thomas Stratmann wrote: Shall I report a separate bug?

If your gdmgreeter is hanging (100% CPU), probably best not. You can check this by doing: sudo top

Try comment 19: https://bugs.launchpad.net/ubuntu/+source/ubuntu-gdm-themes/+bug/210538/comments/19

Out of interest, which version of ubuntu-gdm-themes are you using? You can check this by doing: sudo dpkg -s ubuntu-gdm-themes

Revision history for this message
schnittchen (schnittchen) wrote :

I am sorry. I really should have read the entire thread before crying! ;-)

Comment 19 does it for me, so I am experiencing the same bug.

ubuntu-gdm-themes is installed as version 0.28

Revision history for this message
daniele pirani (daniel-pirani) wrote :

the right answer for me
"Commenting the HumanList gtkrc gtk_color_scheme = line workaround the issue, does anybody knows why this theme is not using the same gtkrc as Human and if the line can be commented? the theme seems to not change when it's commented"

just to put a # before "gtk_color_scheme"
i changed this file "sudo gedit /usr/share/gdm/themes/UbuntuStudio/gtk-2.0/gtkrc"

thanks

Revision history for this message
Nils Naumann (nau) wrote :

cleaning the custom configuration file /etc/gdm/gdm.conf-custom is another work around. After that the standard greeter is working without problems.

Revision history for this message
Valentin Neacsu (valentin.neacsu) wrote :

I had the same problem, but then I updated ubuntu-gdm-themes and I don't have the problem any more. I tried editing the file, but that line isn't there any more.

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not a gdm issue

Changed in gdm:
importance: Undecided → Medium
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

the theme update uploaded today workaround the issue

Changed in ubuntu-gdm-themes:
status: Fix Committed → Fix Released
Revision history for this message
Daniël H. (daan-is-here) wrote :

Bug seems fixed to me

Revision history for this message
justinf (justinf-live) wrote :

Seems fixed but now no names come up in the face browser. I must have messed something up. is it working for everyone else?

Revision history for this message
Claudio André (claudioandre.br) wrote :

Hi, Justinf. Just to give you an answer.

It is working fine to me.

Revision history for this message
Anders (andersja+launchpad-net) wrote :

Confirming - the fixed face browser login works for me now

Revision history for this message
Benjamín Valero Espinosa (benjavalero) wrote :

Hardy Beta installed and updated from scratch, and everything works fine. Thanks.

Revision history for this message
nife (nife87) wrote :

I had the same problem and posted the solution here:
http://ubuntuforums.org/showthread.php?t=754769

Revision history for this message
Evon (evon-smith) wrote :

Well I've tried everything that is suggested in this thread but the same problem still occurs. I have a compaq AMD64, ATI 200 express card on a r4000 laptop. please help. I can't even use an old kernel without the same problem occuring.

Revision history for this message
Evon (evon-smith) wrote :

And please when helping me be very explicit about which commands I should run and how to do them. I am still fairly new to linux. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.