[gdm] manager: reset session-type for autologin
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] manager: reset session-type for autologin
- Date: Fri, 27 Feb 2015 22:08:14 +0000 (UTC)
commit db23b30525822262cab7ca2219ecd23690cdc320
Author: Ray Strode <rstrode redhat com>
Date: Fri Feb 27 16:05:06 2015 -0500
manager: reset session-type for autologin
If we're doing an autologin we don't want to inadvertently do
wayland for X11 sessions, so make sure to reset it.
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 cfcfa03..1728b35 100644
--- a/daemon/gdm-manager.c
+++ b/daemon/gdm-manager.c
@@ -1505,6 +1505,7 @@ set_up_greeter_session (GdmManager *manager,
gdm_display_set_up_greeter_session (display, &allowed_user);
} else {
g_object_set (G_OBJECT (display), "session-class", "user", NULL);
+ g_object_set (G_OBJECT (display), "session-type", NULL, NULL);
allowed_user = g_strdup ("root");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]