[systemd-devel] loginctl - multi-seats

arnaud gaboury arnaud.gaboury at gmail.com
Sat Aug 23 07:56:58 PDT 2014


> You can get a list of all usable devices including their path by
> loginctl seat-status seat0


loginctl seat-status seat0
seat0
        Sessions: *c2 c1
         Devices:
                  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
                  │ input:input6 "Power Button"
                  ├─/sys/device...XSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5
                  │ input:input5 "Power Button"
                  ├─/sys/device...0000:00/0000:00:01.0/0000:01:00.1/sound/card1
                  │ sound:card1 "NVidia"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input18
                  │ │ input:input18 "HDA NVidia HDMI/DP,pcm=3"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input19
                  │ │ input:input19 "HDA NVidia HDMI/DP,pcm=7"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input20
                  │ │ input:input20 "HDA NVidia HDMI/DP,pcm=8"
                  │ └─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input21
                  │   input:input21 "HDA NVidia HDMI/DP,pcm=9"
                  ├─/sys/devices/pci0000:00/0000:00:14.0/usb1
                  │ usb:usb1
                  │ ├─/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11
                  │ │ usb:1-11
                  │ ├─/sys/device.../1-13:1.0/0003:046D:C52E.0004/input/input16
                  │ │ input:input16 "Logitech USB Receiver"
lines 1-23...skipping...
seat0
        Sessions: *c2 c1
         Devices:
                  ├─/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6
                  │ input:input6 "Power Button"
                  ├─/sys/device...XSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5
                  │ input:input5 "Power Button"
                  ├─/sys/device...0000:00/0000:00:01.0/0000:01:00.1/sound/card1
                  │ sound:card1 "NVidia"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input18
                  │ │ input:input18 "HDA NVidia HDMI/DP,pcm=3"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input19
                  │ │ input:input19 "HDA NVidia HDMI/DP,pcm=7"
                  │ ├─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input20
                  │ │ input:input20 "HDA NVidia HDMI/DP,pcm=8"
                  │ └─/sys/device...00:00:01.0/0000:01:00.1/sound/card1/input21
                  │   input:input21 "HDA NVidia HDMI/DP,pcm=9"
                  ├─/sys/devices/pci0000:00/0000:00:14.0/usb1
                  │ usb:usb1
                  │ ├─/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11
                  │ │ usb:1-11
                  │ ├─/sys/device.../1-13:1.0/0003:046D:C52E.0004/input/input16
                  │ │ input:input16 "Logitech USB Receiver"
                  │ ├─/sys/device.../1-13:1.1/0003:046D:C52E.0005/input/input17
                  │ │ input:input17 "Logitech USB Receiver"
                  │ └─/sys/device.../1-14:1.0/0003:046D:C03E.0006/input/input22
                  │   input:input22 "Logitech USB-PS/2 Optical Mouse"
                  ├─/sys/devices/pci0000:00/0000:00:14.0/usb2
                  │ usb:usb2
                  ├─/sys/devices/pci0000:00/0000:00:1a.0/usb5
                  │ usb:usb5
                  │ └─/sys/devices/pci0000:00/0000:00:1a.0/usb5/5-1
                  │   usb:5-1
                  ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0
                  │ sound:card0 "PCH"
                  │ ├─/sys/device...000:00:1b.0/sound/card0/hdaudioC0D0/input10
                  │ │ input:input10 "HDA Digital PCBeep"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input11
                  │ │ input:input11 "HDA Intel PCH Front Mic"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input12
                  │ │ input:input12 "HDA Intel PCH Rear Mic"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input13
                  │ │ input:input13 "HDA Intel PCH Line"
                  │ ├─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input14
                  │ │ input:input14 "HDA Intel PCH Line Out"
                  │ └─/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/input15
                  │   input:input15 "HDA Intel PCH Front Headphone"
                  ├─/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb3
                  │ usb:usb3
                  ├─/sys/devices/pci0000:00/0000:00:1c.4/0000:04:00.0/usb4
                  │ usb:usb4
                  ├─/sys/devices/pci0000:00/0000:00:1d.0/usb6
                  │ usb:usb6


> after that attach a monitor and keyboard (and optionally mouse) and if

I do not see anything about "monitor", neither keyborad. As you can
see, mostly sound and usb stuffs.
I thought first thins was to attach a grahic card, which is not the
same as a monitor.

> you run the right distribution (I've tried with openSUSE and Fedora)

Not sure what you call "right distro". I am on archlinux
> and run gdm as login manager, you new gdm should pop up as soon as you
> attach the gpu.

No login manager. Boot in runlevel 3 then $ startx

> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel


More information about the systemd-devel mailing list