summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-09-10 09:41:18 -0400
committerFederico Mena Quintero <federico@gnome.org>2015-09-15 13:40:39 -0500
commit931154ba97e2a37d2580b9aeb59c160e131edfcb (patch)
tree7c473fb8a63b5ee4038f8735b964a33971a3d0e3
parent78f91789926affd42b159bd7cb037e5dd584e356 (diff)
downloadgdm-931154ba97e2a37d2580b9aeb59c160e131edfcb.tar.gz
manager: don't muck with the session type and class of stub display (autologin)
Normally at startup a display is created of class "greeter" for the login screen to use. That display isn't used in the case automatic login is enabled. There's some iffy code to try to change the class from "greeter" to "user" in the automatic login case. That code is wrong, because in the automatic login case a new display is created specifically for the user session. The greeter session is abandoned, instead of used, so mucking with it's class and type is wrong. This commit removes the code that does that mucking. https://bugzilla.gnome.org/show_bug.cgi?id=749418
-rw-r--r--daemon/gdm-manager.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/daemon/gdm-manager.c b/daemon/gdm-manager.c
index 5e496f70..bfd55883 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1742,9 +1742,6 @@ set_up_automatic_login_session (GdmManager *manager,
GdmSession *session;
gboolean is_initial;
- g_object_set (G_OBJECT (display), "session-class", "user", NULL);
- g_object_set (G_OBJECT (display), "session-type", NULL, NULL);
-
/* 0 is root user; since the daemon talks to the session object
* directly, itself, for automatic login
*/