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 757259 - login screen breaks if I don't input the correct password more than three times in a row
login screen breaks if I don't input the correct password more than three tim...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 781504 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-10-28 16:35 UTC by Hussam Al-Tayeb
Modified: 2018-07-26 05:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
journal log (8.71 KB, text/plain)
2015-10-28 16:35 UTC, Hussam Al-Tayeb
Details

Description Hussam Al-Tayeb 2015-10-28 16:35:07 UTC
Created attachment 314336 [details]
journal log

This is a rather weird issue. if I lock my session and input the password incorrectly more than three times in a row when trying to unlock, the lock screen input freezes. I have to ctrl+alt+f2 and loginctl unlock-session <number> to unlock.
I am using autologin.

On occasions, it even kicks me out of my session.

I'm attaching the journal log.
Comment 1 Hussam Al-Tayeb 2015-10-28 16:49:35 UTC
Basically when it freezes, it gets stuck on 'next' instead of 'unlock'.

Incidentally, if I ctrl+alt+f2 and input the incorrect password three times, the console screen resets. Perhaps that is where the "three" failure limit is from.
Comment 2 Hussam Al-Tayeb 2017-04-19 16:03:52 UTC
*** Bug 781504 has been marked as a duplicate of this bug. ***
Comment 3 Hussam Al-Tayeb 2017-04-19 16:04:31 UTC
gdb output in bug 781504.
Comment 4 Hussam Al-Tayeb 2017-04-19 17:21:15 UTC
On my system, entering the incorrect password three times in a row makes the relevant getty process restart. After that I can immediately try logging in again.

Maybe this is a hint as to what is happening. Gdm seems to be hiccuping after three failed login attempts instead.
Comment 5 Michael Catanzaro 2018-04-29 16:22:09 UTC
(In reply to Hussam Al-Tayeb from comment #0)
> Created attachment 314336 [details]
> journal log
> 
> This is a rather weird issue. if I lock my session and input the password
> incorrectly more than three times in a row when trying to unlock, the lock
> screen input freezes. I have to ctrl+alt+f2 and loginctl unlock-session
> <number> to unlock.
> I am using autologin.
> 
> On occasions, it even kicks me out of my session.
> 
> I'm attaching the journal log.

I'm pretty sure I fixed this same bug for the *login screen* at some point in the past. But that would have been back in 2015 or 2016, certainly well before your previous comment in April 2017. And I probably never tested the unlock screen, which is where you're hitting the problem.
Comment 6 Michael Catanzaro 2018-04-29 16:31:38 UTC
I did some git history investigation to see if I could find where the problem was before, and it turns out it was a downstream problem from a much older version of the login screen code, definitely not relevant anymore. Sorry for the noise.
Comment 7 Hussam Al-Tayeb 2018-04-29 16:40:00 UTC
(In reply to Michael Catanzaro from comment #6)
> I did some git history investigation to see if I could find where the
> problem was before, and it turns out it was a downstream problem from a much
> older version of the login screen code, definitely not relevant anymore.
> Sorry for the noise.

By downstream, do you mean distribution related?
Comment 8 Michael Catanzaro 2018-04-29 17:08:25 UTC
(In reply to Hussam Al-Tayeb from comment #7)
> By downstream, do you mean distribution related?

It's irrelevant, but: I think it was actually an upstream bug, but in a much older version of the login screen, so my fix was already obsolete at the time I wrote it and I never sent it upstream. Whatever's going wrong now is surely different.
Comment 9 Hussam Al-Tayeb 2018-05-04 15:22:34 UTC
It's happening on the login screen and not just lock screen. I feel this may be due to me recompiling gdm with --disable-user-display-server
Comment 10 Hussam Al-Tayeb 2018-07-26 05:16:19 UTC
I believe this commit fixed it:
https://gitlab.gnome.org/GNOME/gnome-shell/commit/fddd122956d01e7672e7a6e3a4ffc9b696d34916