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



commit 87728700df57c3540336763bc03e523f0ea7e5f8
Author: Ray Strode <rstrode redhat com>
Date:   Fri Jul 10 10:45:52 2020 -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 58865a6c..f0082fdc 100644
--- a/daemon/gdm-x-session.c
+++ b/daemon/gdm-x-session.c
@@ -277,6 +277,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]