Skip to content

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.

1 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
1 · 100% up
Kind
Text
ID
689ghv

Author

28
posts
129
comments
0
media
View profile

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.

2 points

How old is this install?

What DE?

Also, please give make and model of the laptop, and what graphics it has.

Thanks.

1 points

Install is about 10 months old. XPS 13 9350 (Intel Iris 540) running xorg with the modesetting driver.

1 points
unknown author

Deleted before we saved it.

1 points

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.

1 points

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:

1 points

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:

[67989.663258] usb 3-1: USB disconnect, device number 2
[67989.756920] xhci_hcd 0000:39:00.0: remove, state 4
[67989.756930] usb usb4: USB disconnect, device number 1
[67989.757116] xhci_hcd 0000:39:00.0: Host halt failed, -19
[67989.757119] xhci_hcd 0000:39:00.0: Host not accessible, reset failed.
[67989.757121] xhci_hcd 0000:39:00.0: USB bus 4 deregistered
[67989.757131] xhci_hcd 0000:39:00.0: remove, state 4
[67989.757135] usb usb3: USB disconnect, device number 1
[67989.757326] xhci_hcd 0000:39:00.0: USB bus 3 deregistered
1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.