diff options
author | Ray Strode <rstrode@redhat.com> | 2015-03-19 20:55:40 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2015-03-19 22:29:38 -0400 |
commit | c0c56178c941e144305af318e3f42637529ca862 (patch) | |
tree | 6308d2b1b66e924700416d9c34868dba2d66c9ec | |
parent | 63b0ce137248fb210b22227bb85956540e02bae3 (diff) | |
download | gdm-c0c56178c941e144305af318e3f42637529ca862.tar.gz |
session: always use REUSE_VT display mode for ConsoleKit
The ConsoleKit path needs to use GdmLegacyDisplay, which always
reuses the greeter display.
https://bugzilla.gnome.org/show_bug.cgi?id=746497
-rw-r--r-- | daemon/gdm-session.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon/gdm-session.c b/daemon/gdm-session.c index 52fbc172..33a08e3c 100644 --- a/daemon/gdm-session.c +++ b/daemon/gdm-session.c @@ -2945,6 +2945,10 @@ gdm_session_get_display_mode (GdmSession *self) self->priv->is_program_session? "yes" : "no", self->priv->display_seat_id); + if (!LOGIND_RUNNING()) { + return GDM_SESSION_DISPLAY_MODE_REUSE_VT; + } + #ifdef ENABLE_WAYLAND_SUPPORT /* Wayland sessions are for now assumed to run in a * mutter-launch-like environment, so we allocate |