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-09 17:09:48 -0400
commit6e9caba97ad2eec96b216e770cc7d5258409fae1 (patch)
tree12331edd84551502d52cb5e14dc405943cab691a
parenta00aeda7b9a0311271551754761c5279290fab69 (diff)
downloadgdm-6e9caba97ad2eec96b216e770cc7d5258409fae1.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);