[systemd-devel] loginctl - multi-seats
arnaud gaboury
arnaud.gaboury at gmail.com
Sat Aug 23 07:50:31 PDT 2014
>
> You probably want graphic device under it, something like
>
> /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
# loginctl attach seat1 /sys/bus/pci/devices/0000:01:00.0/drm/card0
No error thrown, but:
# loginctl list-seats
SEAT
seat0
1 seats listed.
No new seat1 !
% udevadm info --query=all --path=/sys/bus/pci/devices/0000:01:00.0
P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0
E: DRIVER=nvidia
E: ID_MODEL_FROM_DATABASE=GK104 [GeForce GTX 770]
E: ID_PCI_CLASS_FROM_DATABASE=Display controller
E: ID_PCI_INTERFACE_FROM_DATABASE=VGA controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=VGA compatible controller
E: ID_VENDOR_FROM_DATABASE=NVIDIA Corporation
E: MODALIAS=pci:v000010DEd00001184sv000010B0sd00001184bc03sc00i00
E: PCI_CLASS=30000
E: PCI_ID=10DE:1184
E: PCI_SLOT_NAME=0000:01:00.0
E: PCI_SUBSYS_ID=10B0:1184
E: SUBSYSTEM=pci
E: USEC_INITIALIZED=53240
I guess I am on the right device directory.
>
> You can only add devices that have udev tag seat (those with
> TAGS=...:seat:... in properties).
Will learn how to read TAGS. It is new to me for now.
--
google.com/+arnaudgabourygabx
More information about the systemd-devel
mailing list