[PATCH xorg] Relation between the -seat parameter and ServerLayout

Олег Самарин osamarin68 at gmail.com
Wed Nov 21 10:37:14 PST 2012


GDM 3 starts Xorg without specifying -layout parameter, but only with
-seat.

In multiseat enviroment it should be preferable to have several
ServerLayout sections with some configuration options, one ServerLayout
per seat.

This patch (for xorg 1.12.3) allows to link a ServerLayout to a certain
seat by specifying "Seat" option.

Here is an example: ServerLayout sections of my xorg.conf

----------------------------------------------------------
Section "ServerLayout"
	Identifier     "Seat0"
	Screen      0  "ScreenBelinea" 0 0
	Option	"SingleCard"	"true"
	Option	"Seat"	"seat0"
EndSection

Section "ServerLayout"
	Identifier     "Seat1"
	Screen      0  "ScreenDell" 0 0
#	Screen      1  "ScreenMarantz" 0 0
	Option	"SingleCard"	"true"
	Option	"Seat"	"seat1"
EndSection

---------------------------------------------------------

gdm launches two Xorg instances:

Xorg -seat seat0
Xorg -seat seat1

With this patch each Xorg instance uses its own "ServerLayout" section
and everything works.

More info at http://bugzilla.redhat.com/show_bug.cgi?id=878605

I'd like the patch to be released upstream




-------------- next part --------------
A non-text attachment was scrubbed...
Name: xserver-1.12.3-xorg-seat-layout.patch
Type: text/x-patch
Size: 2834 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20121121/b7033eb5/attachment.bin>


More information about the xorg-devel mailing list