[gdm] manager: stop greeter explicitly when finishing display



commit 81f61eb4966e4652382ebee32f1830cfb4ca9126
Author: Ray Strode <rstrode redhat com>
Date:   Mon May 8 12:40:00 2017 -0400

    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

 daemon/gdm-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 994886f..d080b30 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]