diff options
author | Ray Strode <rstrode@redhat.com> | 2020-12-10 15:14:20 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2020-12-11 14:50:24 -0500 |
commit | dcdbaaa04012541ad2813cf83559d91d52f208b9 (patch) | |
tree | 30e9e9f3e35dbcb64ddee5ae98057d2a1322797b /chooser/gdm-chooser-host.c | |
parent | a58aec716855c8b47c32008455f212ecbd85ef2f (diff) | |
download | gdm-dcdbaaa04012541ad2813cf83559d91d52f208b9.tar.gz |
session-worker: Don't switch back VTs until session is fully exitedwip/fix-autologin-unlock-race
There's a race condition on shutdown where the session worker is
switching VTs back to the initial VT at the same time as the session
exit is being processed.
This means that manager may try to start a login screen (because of
the VT switch) when autologin is enabled when there shouldn't be a
login screen.
This commit makes sure both the PostSession script, and session-exited
signal emission are complete before initiating the VT switch back
to the initial VT.
https://gitlab.gnome.org/GNOME/gdm/-/issues/660
Diffstat (limited to 'chooser/gdm-chooser-host.c')
0 files changed, 0 insertions, 0 deletions