Commit 39fb4ff6 authored by Ray Strode's avatar Ray Strode

manager: don't run autologin display on tty1

tty1 is really meant for the login screen.
If a user autologins on it and we need a login
screen later, then the login screen has to go
in some auxiliary VT which isn't very nice.

This commit changes autologin to not use the
initial vt.
parent c5c5bf1f
......@@ -1273,7 +1273,6 @@ set_up_automatic_login_session (GdmManager *manager,
{
GdmSession *session;
char *display_session_type = NULL;
gboolean is_initial;
/* 0 is root user; since the daemon talks to the session object
* directly, itself, for automatic login
......@@ -1281,12 +1280,11 @@ set_up_automatic_login_session (GdmManager *manager,
session = create_user_session_for_display (manager, display, 0);
g_object_get (G_OBJECT (display),
"is-initial", &is_initial,
"session-type", &display_session_type,
NULL);
g_object_set (G_OBJECT (session),
"display-is-initial", is_initial,
"display-is-initial", FALSE,
NULL);
g_debug ("GdmManager: Starting automatic login conversation");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment