Bug 69477

Summary: Disable VT switching and enable VT sharing by default for non-seat0 seats
Product: xorg Reporter: Laércio de Sousa <lbsousajr>
Component: Server/DDX/XorgAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: 7.7 (2012.06)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Disable VT switching/Enable VT sharing for non-seat0 seats none

Description Laércio de Sousa 2013-09-17 16:38:25 UTC
Currently systemd-multi-seat-x wrapper is still needed in some multiseat setups.
When -seat option is passed with an argument different from seat0, systemd-multi-seat-x does the following:

1. pass option -sharevts to real X server;

2. create a special xorg.conf file with the following content (or similar):

Section "ServerFlags"
    Option "DontVTSwitch" "true"
EndSection

Section "InputClass"
    Identifier "Force input devices to seat"
    Option "GrabDevice" "true"
EndSection

The purpose of this bug is to enable VT sharing (no need of passing -sharevts) and disable VT switching (no need of Option "DontVTSwitch" "true" in xorg.conf) when seat is not seat0.

Another patch for evdev driver is needed to get rid of Option "GrabDevice" "true" in xorg.conf
Comment 1 Laércio de Sousa 2013-09-17 16:45:56 UTC
Created attachment 86003 [details]
Disable VT switching/Enable VT sharing for non-seat0 seats
Comment 2 Laércio de Sousa 2014-02-20 12:04:12 UTC
Commit 46cf2a6093 solves this bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.