summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2017-05-08 12:40:00 -0400
committerRay Strode <rstrode@redhat.com>2017-05-08 16:47:50 -0400
commit81f61eb4966e4652382ebee32f1830cfb4ca9126 (patch)
treeb33c8d882432fe7ca4239367001adda257716fac
parentf600e61e827c4886f6f40d2fb37540d303dc2896 (diff)
downloadgdm-81f61eb4966e4652382ebee32f1830cfb4ca9126.tar.gz
manager: stop greeter explicitly when finishing display
If GDM shuts down while the login screen is active, we fail to kill off the login screen session. This commit fixes that, by explicitly stopping the greeter session on the display (if there is one) https://bugzilla.gnome.org/show_bug.cgi?id=780213
-rw-r--r--daemon/gdm-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 994886f9..d080b308 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -2736,6 +2736,7 @@ finish_display (const char *id,
GdmDisplay *display,
GdmManager *manager)
{
+ gdm_display_stop_greeter_session (display);
if (gdm_display_get_status (display) == GDM_DISPLAY_MANAGED)
gdm_display_unmanage (display);
gdm_display_finish (display);