[systemd-devel] logind: multiseat without framebuffer graphic cards
Thomas Bächler
thomas at archlinux.org
Sun Nov 25 11:07:10 PST 2012
Am 23.11.2012 18:18, schrieb Lennart Poettering:
> On Thu, 22.11.12 13:27, Thomas Bächler (thomas at archlinux.org) wrote:
>
>> For me, the major problem is that the selection of "seat master devices"
>> is hard-coded in logind (it selects devices of type "graphics" from
>> udev, [1]). Step 1 would be to move that to a udev rule: Add a
>> "seatmaster" tag to all graphics devices and have logind select those
>> (this would actually remove three LOC in logind.c, and change one line).
>> Now, an admin could give this tag to any device. This fix is very easy,
>> non-invasive and would make logind's multi-seat support much more
>> flexible (it also allows an admin to do very stupid things, but I don't
>> see any reason to prevent that).
>
> "seat-master" sounds like a good name for this. I'd be happy to merge a
> patch that changes logind so that it watches for devices tagged with
> this, and spawns an X server the moment such a device appears.
If nobody beats me to it, I'll try to create a patch for this in the
next few days.
>> The second step is to make multi-seat-x support custom configurations:
>> If an X server is to be spawned on on a seat named "seatN" and
>> /etc/X11/xorg.conf_seatN exists, then that configuration file is used
>> and multi-seat-x doesn't generate one. (Over time, maybe multi-seat-x
>> can be extended to support more setups automatically, but that is a very
>> low priority for me, as figuring out the correct configuration with the
>> proprietary nvidia driver is not straight-forward.)
>
> Can't this be done in X instead? IIRC X already has some matching thing
> in the configuration file format. Maybe this could be extended to allow
> matching by seat name? Then, people could just drop per-seat
> configuration as normal snippets into /etc/X11/xorg.conf.d/ and add a
> match line to them and that would be it?
Fine with me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20121125/08cbbf37/attachment-0001.pgp>
More information about the systemd-devel
mailing list