GDM hangs after hitting enter on password
Most of the time, gdm works fine for me. However, about every other day (just enough to make it super annoying), after entering my password and hitting enter, it just sits there at the gdm screen. My mouse works fine. I can sometimes even ctrl+alt+Fn to switch to another vtty. Eventually I just have to hold down the power button or run 'reboot' from another terminal. I can't seem to see anything in dmesg or the logs that pinpoint to something that's hanging.
Anyone else experience this? There are about a million results for 'gdm hangs', but it seems like most people are experiencing a hard system freeze (no mouse, no keyboard) instead of gdm just waiting on something.
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 689ghv
7 comments
Yes, same issue, seen it since 3.22, very very rare, but happened to me like 5 times.
Nothing useful in the log and I wasn't too keen to investigate, it's Gnome, that's what it is, live with it or move on, or at least this is what I'm telling myself.
How old is this install?
What DE?
Also, please give make and model of the laptop, and what graphics it has.
Thanks.
Install is about 10 months old. XPS 13 9350 (Intel Iris 540) running xorg with the modesetting driver.
Deleted before we saved it.
I have the exact same problem and also have trouble searching because everyone else gets a full freeze. For me in particular, it hangs for me randomly after resuming from a suspend. I found the answer that so far has seemed to help on the archlinux GDM wiki page in the troubleshooting section:
If GDM starts up properly on boot, but fails after repeated attempts on logout, try adding this line to the daemon section of /etc/gdm/custom.conf: GdmXserverTimeout=60
I just recently tried this though, so I can't guarantee it works for our issue, but I haven't had a hang since knock on wood.
Yeah, I'm almost certain it only happens after a resume (instead of just when my screen turns off for power savings). I'll try the GdmXserverTimeout=60 and see how it goes. :crossesfingers:
There may be multiple causes, but I think one of them may be USB related. It seems like it happens more frequently when my Nexus 6P is connected to my USB-C port. I just tried to unlock my screen (not resuming from sleep), and it was hanging. I waited about 15 seconds and then unplugged my phone, and it immediately got to my desktop. In dmesg, there was this: