[gdm/gnome-3-24] manager: stop greeter explicitly when finishing display

commit 6e9caba97ad2eec96b216e770cc7d5258409fae1
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)

 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]