[systemd-devel] loginctl - multi-seats

arnaud gaboury arnaud.gaboury at gmail.com
Sat Aug 23 07:26:33 PDT 2014


> I understand from loginctl(1) I have to first create 1 new seat with
> loginctl using 1 existing graphic device:
> $ attach seat1 /sys/bus/pci/device/0000:00:01.0@ (my graphic card as
> listed by $lspci).

Not a very good start :-(

$ lspci
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce
GTX 770] (rev a1)

# loginctl attach seat1 /sys/bus/pci/devices/0000:01:00.0
Could not attach device: No such device

$ ls -al /sys/bus/pci/devices/0000:01:00.0
lrwxrwxrwx 1 root root 0 Aug 23 13:56
/sys/bus/pci/devices/0000:01:00.0 ->
../../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/

# loginctl attach seat1 /sys/bus/pci/devices/0000:01:00.0
Could not attach device: No such device

---------------------------------------------------------
from loginctl(1):
   attach NAME DEVICE...
           Persistently attach one or more devices to a seat. The devices
           should be specified via device paths in the /sys file system. To
           create a new seat, attach at least one graphics card to a
           previously unused seat name.
---------------------------------------------------------------

What is wrong in my command to create seat1 ?


More information about the systemd-devel mailing list