[gdm/wip/kill-x-on-login-too-plz: 3/4] gdm-x-session: tell x server to not vt switch



commit b877b018c613474a1b572ca8831cb845c9575aa3
Author: Ray Strode <rstrode redhat com>
Date:   Thu Oct 11 07:11:43 2018 -0400

    gdm-x-session: tell x server to not vt switch
    
    gdm already handles the VT switching on X's behalf,
    so it's redundant, and X does it at inopportune times,
    so instruct it to not get involved.

 daemon/gdm-x-session.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/daemon/gdm-x-session.c b/daemon/gdm-x-session.c
index 3b2fcef4..d8e3c7d5 100644
--- a/daemon/gdm-x-session.c
+++ b/daemon/gdm-x-session.c
@@ -274,6 +274,7 @@ spawn_x_server (State        *state,
 
         g_ptr_array_add (arguments, "-noreset");
         g_ptr_array_add (arguments, "-keeptty");
+        g_ptr_array_add (arguments, "-novtswitch");
 
         g_ptr_array_add (arguments, "-verbose");
         if (state->debug_enabled) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]