diff options
author | Ray Strode <rstrode@redhat.com> | 2015-02-16 19:36:47 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-02-18 17:34:15 -0500 |
commit | 8a3b7cf1452fb63a2c5b0e9b18848e293330bf44 (patch) | |
tree | 070510dc4e8a43014ae508eee0ce04a51256e6ac /daemon/gdm-server.c | |
parent | cf31b8ffb7f5d6567116f81488bd68dc646b356a (diff) | |
download | gdm-8a3b7cf1452fb63a2c5b0e9b18848e293330bf44.tar.gz |
local-display-factory: only set is-initial on first seat0 display
is-initial is for hardcoding vt1 on the X server command line. VTs
only make sense on seat0, so GdmServer as ignoring is-initial on
auxilliary seats.
This commit makes sure that is-initial never gets set in the first
place for auxilliary seats, and deletes the code the overrides
its value.
https://bugzilla.gnome.org/show_bug.cgi?id=744764
Diffstat (limited to 'daemon/gdm-server.c')
-rw-r--r-- | daemon/gdm-server.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/daemon/gdm-server.c b/daemon/gdm-server.c index ccb26a34..bacc0800 100644 --- a/daemon/gdm-server.c +++ b/daemon/gdm-server.c @@ -808,15 +808,6 @@ gdm_server_start (GdmServer *server) /* Hardcode the VT for the initial X server, but nothing else */ if (server->priv->is_initial) { vtarg = "vt" GDM_INITIAL_VT; - -#ifdef WITH_SYSTEMD - /* undo the hardcoding if we are an auxillary seat */ - if (LOGIND_RUNNING()) { - if (strcmp (server->priv->display_seat_id, "seat0") != 0) { - vtarg = NULL; - } - } -#endif } /* fork X server process */ |