Bug 71258

Summary: X server should touch no VT at all 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: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Keep a non-seat0 X server from touching VTs none

Description Laércio de Sousa 2013-11-05 12:09:38 UTC
Following the discussion started at xorg-devel mailing list about getting inactive systemd-logind sessions for seat0 due to race condition between seat0 and non-seat0 X servers (http://lists.x.org/archives/xorg-devel/2013-October/038391.html), some people have demonstrated interest in the following approach regarding to X.Org itself:

"If -seat option is passed with a value different from seat0, X server shouldn't touch any VTs at all."
So I'm opening this bug to keep track of this change.

Current systemd-logind multiseat setups require that non-seat0 X servers share the active VT (passing -sharevts option), but we still have problems if a non-seat0 X server starts before a seat0 one, because the seat0 one can no longer take control of the desired VT, resulting in inactive systemd-logind sessions.
Comment 1 Laércio de Sousa 2013-11-07 16:54:38 UTC
Created attachment 88839 [details] [review]
Keep a non-seat0 X server from touching VTs
Comment 2 Laércio de Sousa 2014-02-20 12:02:33 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.