xfree86: Keep a non-seat0 X server from touching VTs
Connor Behan
connor.behan at gmail.com
Tue Dec 3 21:52:37 PST 2013
On 03/12/13 12:00 PM, lbsousajr at gmail.com wrote:
> This is my first atempt to block VT access to non-seat0 X servers.
>
> If -seat option is passed with a value different from seat0,
> X server won't call xf86OpenConsole().
>
> This is needed to avoid any race condition between seat0 and
> non-seat0 X servers. If a non-seat0 X server opens a given VT
> before a seat0 one which expects to open the same VT, one can
> get an inactive systemd-logind graphical session for seat0.
>
> This patch was first tested in a multiseat setup with multiple
> video cards and works quite well.
>
> I suppose it can also make things like DontVTSwitch and -sharevts
> meaningless for non-seat0 seats, so it may fix bug #69477, too.
>
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=71258
> https://bugs.freedesktop.org/show_bug.cgi?id=69477 (maybe)
>
> See also: http://lists.x.org/archives/xorg-devel/2013-October/038391.html
> https://bugzilla.redhat.com/show_bug.cgi?id=1018196
Acked-by: Connor Behan <connor.behan at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131203/b93efb44/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131203/b93efb44/attachment.pgp>
More information about the xorg-devel
mailing list