MultiSeat - Logind adds seats out of order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd |
New
|
Undecided
|
Unassigned |
Bug Description
[root@KODI ~]# loginctl list-seats
SEAT
seat2
seat1
seat0
3 seats listed.
Udev Seat Rules: /etc/udev/
# add master-of-seat tag to video cards (0x10de is NVIDIA vendor id)
SUBSYSTEM=="drm", KERNEL=
# assign USB ports
TAG=="seat", DEVPATH=
TAG=="seat", DEVPATH=
# assign video cards
TAG=="seat", DEVPATH=
TAG=="seat", DEVPATH=
TAG=="seat", DEVPATH=
LightDM Config: /etc/lightdm/
[LightDM]
run-directory = /run/lightdm
logind-
minimum-vt=7
[Seat:*]
greeter-session = lightdm-gtk-greeter
greeter-hide-users = false
session-wrapper = /etc/lightdm/
pam-autologin-
user-session = gnome
[Seat:seat0]
xserver-
xserver-
autologin-
autologin-user=vis
autologin-
[Seat:seat1]
xserver-
xserver-
autologin-user=vis1
autologin-
[Seat:seat2]
xserver-
xserver-
autologin-user=vis2
autologin-
Looking at systemctl status lightdm.service I see that the seat number is automatically being added to the xserver command overriding what I had on the xserver command.
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/
Active: active (running) since Пн 2016-09-26 13:24:47 SAMT; 3s ago
Docs: man:lightdm(1)
Main PID: 3440 (lightdm)
Tasks: 7 (limit: 4915)
CGroup: /system.
├─3440 /usr/bin/lightdm
├─3446 /usr/lib/
├─3447 /usr/lib/
└─3449 /usr/lib/
I tried putting the full set of options on the xsever-command line in lightdm.conf but the system added same options to the end of it overriding the seat number.
I'm not sure what the problem is here - is it because the seats are "seat2", "seat1", "seat0" instead or "seat0", "seat2", "seat1"?
LightDM just adds the seats in the order logind defines. It seems to have correctly matched what 'loginctl list-seats' shows so I think it's doing the right thing.