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 780914 - manager: make sure we end up on a login screen
manager: make sure we end up on a login screen
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-04 21:11 UTC by Ray Strode [halfline]
Modified: 2017-04-12 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
manager: make sure we end up on a login screen (9.31 KB, patch)
2017-04-04 21:11 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2017-04-04 21:11:26 UTC
If we're running in legacy mode where VT1 is not necessarily a login
screen, then we can end up in a situation where logging out leaves us
sitting on the wrong vt.

1) log in to user 1 on vt 1
2) switch user to login screen on vt 2 and log in as user 2 on vt 2
3) switch user to login screen on  vt 3 and unlock user 1 back on vt 1
4) log out of user 1 on vt 1
5) now sitting at blank vt 1

This commit makes sure in that case we jump to a login screen
Comment 1 Ray Strode [halfline] 2017-04-04 21:11:34 UTC
Created attachment 349264 [details] [review]
manager: make sure we end up on a login screen
Comment 2 Ray Strode [halfline] 2017-04-12 13:48:13 UTC
Attachment 349264 [details] pushed as 22c332b - manager: make sure we end up on a login screen