Hans,

systemd currently ships a multi-seat-x wrapper (
http://cgit.freedesktop.org/systemd/systemd/tree/src/login/multi-seat-x.c) for
cases where X.Org doesn't work well with multiseat. In the beginning, it
was much bigger, but now, as X.Org evolves, it now only does the following:

* If "-seat" option value is "seat0", just exec real X server, with no
additions
* Otherwise:
  + Append "-sharevts" to real X server command line [*]
  + Append "-config" to real X server command line, with the following
config file:
      Section "ServerFlags"
        Option "AutoAddDevices" "True" # pointless, since it's already true
by default
        Option "AllowEmptyInput" "True" # this option doesn't exist anymore
        Option "DontVTSwitch" "True" [*]
      EndSection
      Section "InputClass"
        Identifier "Force Input Devices to Seat"
        Option "GrabDevice" "True" # not needed anymore, since
http://cgit.freedesktop.org/xorg/xserver/commit/?id=c73c36b537f996574628e69681833ea37dec2b6e
      EndSection

The points tagged with [*] above are needed because non-seat0 X servers
still try to open VTs, although non-seat0 seats can't handle them. My patch
proposed at 
http://lists.x.org/archives/xorg-devel/2013-December/039353.htmlmakes
those points unneeded.

CANTATE DOMINO CANTICUM NOVUM
QUIA MIRABILIA FECIT

Laércio


2013/12/12 Hans de Goede <[email protected]>

> Hi,
>
>
> On 12/11/2013 06:56 PM, Laércio de Sousa wrote:
>
>> Sorry for the intromission, but this can be more or less related to your
>> needs.
>>
>> I've submitted a patch to xorg-devel that blocks VT access for non-seat0
>> X servers i.e. those started with "-seat" option set to any value different
>> from "seat0".
>>
>> This patch is currently waiting for review. Maybe you could take a look
>> and give your feedback.
>>
>> http://lists.x.org/archives/xorg-devel/2013-December/039353.html
>>
>
> I can take a look, but I'm not familiar yet with these bits of the
> xserver, do you have
> a pointer to the muli-seat-x wrapper your talking about? Seeing what that
> does will
> hopefully help me to understand your patch.
>
> Regards,
>
> Hans
>
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to