[gdm] manager: let timed login session happen on new VT
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: let timed login session happen on new VT
- Date: Tue, 10 Mar 2015 17:11:52 +0000 (UTC)
commit 7b0ff85031cafb28b2332c5a8faa51e712e930bb
Author: Ray Strode <rstrode redhat com>
Date: Tue Mar 10 13:02:38 2015 -0400
manager: let timed login session happen on new VT
Right now we try to timed login into the same VT
the login screen is running on. This leads to lock ups.
https://bugzilla.gnome.org/show_bug.cgi?id=745974
daemon/gdm-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 3a1bd86..1dd3605 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -2203,8 +2203,10 @@ start_autologin_conversation_if_necessary (GdmManager *manager,
return;
}
- g_object_get (G_OBJECT (display), "is-initial", &is_initial, NULL);
- g_object_set (G_OBJECT (session), "display-is-initial", is_initial, NULL);
+ if (delay == 0) {
+ g_object_get (G_OBJECT (display), "is-initial", &is_initial, NULL);
+ g_object_set (G_OBJECT (session), "display-is-initial", is_initial, NULL);
+ }
g_debug ("GdmManager: Starting automatic login conversation");
gdm_session_start_conversation (session, "gdm-autologin");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]