Login screen showing Authentication Failure Switch to greeter...
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity (Ubuntu) |
Fix Released
|
Medium
|
Andrea Azzarone | ||
Xenial |
Fix Released
|
Medium
|
Andrea Azzarone | ||
Bionic |
Fix Released
|
Medium
|
Andrea Azzarone | ||
Cosmic |
Fix Released
|
Medium
|
Andrea Azzarone |
Bug Description
[Impact]
After locking, the login screen shows the message "Authentication Failure" and the user must click "Switch to greeter" to continue.
This SRU fixes the regression introduced in 44e6022, which causes the lock screen to start failing when session switching is involved. This can happen when you unlock the session from LightDM or from the CLI. We need to cancel the authentication in order to ensure that the next one does not fail.
[Test Case]
On a system with LightDM and more than one local user ("bob" and "alice"):
1. Login under bob.
2. Via upper-right menu switch to "alice".
3. On greeter screen select "alice", login under alice.
4. Logout, return to greeter screen.
5. Select bob (already logged in). Enter password.
6. Lock screen.
[Other Info]
This happens mostly after switching user sessions.
Syslog contains entries like:
Jan 6 17:15:42 eugene-
Related branches
- Marco Trevisan (Treviño): Approve
-
Diff: 159 lines (+57/-6)4 files modifiedlockscreen/LockScreenController.cpp (+2/-0)
lockscreen/UserAuthenticator.h (+1/-0)
lockscreen/UserAuthenticatorPam.cpp (+52/-6)
lockscreen/UserAuthenticatorPam.h (+2/-0)
- Unity Team: Pending requested
-
Diff: 108 lines (+32/-3)4 files modifiedlockscreen/LockScreenController.cpp (+2/-0)
lockscreen/UserAuthenticator.h (+1/-0)
lockscreen/UserAuthenticatorPam.cpp (+27/-3)
lockscreen/UserAuthenticatorPam.h (+2/-0)
- Unity Team: Pending requested
-
Diff: 108 lines (+32/-3)4 files modifiedlockscreen/LockScreenController.cpp (+2/-0)
lockscreen/UserAuthenticator.h (+1/-0)
lockscreen/UserAuthenticatorPam.cpp (+27/-3)
lockscreen/UserAuthenticatorPam.h (+2/-0)
- Marco Trevisan (Treviño): Approve
-
Diff: 108 lines (+32/-3)4 files modifiedlockscreen/LockScreenController.cpp (+2/-0)
lockscreen/UserAuthenticator.h (+1/-0)
lockscreen/UserAuthenticatorPam.cpp (+27/-3)
lockscreen/UserAuthenticatorPam.h (+2/-0)
- Andrea Azzarone (community): Disapprove
- Unity Team: Pending requested
-
Diff: 13 lines (+3/-0)1 file modifiedlockscreen/UserAuthenticatorPam.cpp (+3/-0)
description: | updated |
description: | updated |
tags: | added: bionic |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu): | |
assignee: | nobody → Andrea Azzarone (azzar1) |
no longer affects: | unity |
Changed in unity (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
tags: | removed: 16.04 17.10 |
Changed in unity (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in unity (Ubuntu Bionic): | |
importance: | Undecided → Medium |
description: | updated |
tags: | added: lockscreen |
Changed in unity (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in unity (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in unity (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Andrea Azzarone (azzar1) |
Changed in unity (Ubuntu Bionic): | |
assignee: | nobody → Andrea Azzarone (azzar1) |
Changed in unity (Ubuntu Cosmic): | |
assignee: | nobody → Andrea Azzarone (azzar1) |
Status changed to 'Confirmed' because the bug affects multiple users.