<div dir="ltr">Hans,<div><br></div><div>systemd currently ships a multi-seat-x wrapper (<a href="http://cgit.freedesktop.org/systemd/systemd/tree/src/login/multi-seat-x.c">http://cgit.freedesktop.org/systemd/systemd/tree/src/login/multi-seat-x.c</a>) 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:</div>
<div><br></div><div>* If "-seat" option value is "seat0", just exec real X server, with no additions</div><div>* Otherwise:</div><div> + Append "-sharevts" to real X server command line [*]</div>
<div> + Append "-config" to real X server command line, with the following config file:</div><div> Section "ServerFlags"</div><div> Option "AutoAddDevices" "True" # pointless, since it's already true by default</div>
<div> Option "AllowEmptyInput" "True" # this option doesn't exist anymore</div><div> Option "DontVTSwitch" "True" [*]</div><div> EndSection</div><div> Section "InputClass"</div>
<div> Identifier "Force Input Devices to Seat"</div><div> Option "GrabDevice" "True" # not needed anymore, since <a href="http://cgit.freedesktop.org/xorg/xserver/commit/?id=c73c36b537f996574628e69681833ea37dec2b6e">http://cgit.freedesktop.org/xorg/xserver/commit/?id=c73c36b537f996574628e69681833ea37dec2b6e</a></div>
<div> EndSection</div><div><br></div><div>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 <a href="http://lists.x.org/archives/xorg-devel/2013-December/039353.html">http://lists.x.org/archives/xorg-devel/2013-December/039353.html</a> makes those points unneeded.</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">CANTATE DOMINO CANTICUM NOVUM<div>QUIA MIRABILIA FECIT</div><div><br></div><div>Laércio</div></div></div>
<br><br><div class="gmail_quote">2013/12/12 Hans de Goede <span dir="ltr"><<a href="mailto:hdegoede@redhat.com" target="_blank">hdegoede@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div class="im"><br>
<br>
On 12/11/2013 06:56 PM, Laércio de Sousa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry for the intromission, but this can be more or less related to your needs.<br>
<br>
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".<br>
<br>
This patch is currently waiting for review. Maybe you could take a look and give your feedback.<br>
<br>
<a href="http://lists.x.org/archives/xorg-devel/2013-December/039353.html" target="_blank">http://lists.x.org/archives/<u></u>xorg-devel/2013-December/<u></u>039353.html</a><br>
</blockquote>
<br></div>
I can take a look, but I'm not familiar yet with these bits of the xserver, do you have<br>
a pointer to the muli-seat-x wrapper your talking about? Seeing what that does will<br>
hopefully help me to understand your patch.<br>
<br>
Regards,<br>
<br>
Hans<br>
</blockquote></div><br></div>