В Sat, 23 Aug 2014 16:26:33 +0200 arnaud gaboury <[email protected]> пишет:
> > 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 ? You probably want graphic device under it, something like /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 You can only add devices that have udev tag seat (those with TAGS=...:seat:... in properties). _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
