Loginctl with second seat leads to crash of xorg/lightdm

I did solve it (but donΒ΄t ask how long it took)

I changed /etc/lightdm/lightdm.conf

cat /etc/lightdm/lightdm.conf | egrep -v '#'
cat /etc/lightdm/lightdm.conf | egrep -v '#'                                                                                                

[LightDM]
logind-check-graphical = True
run-directory=/run/lightdm

[Seat:*]
greeter-session=lightdm-gtk-greeter
session-wrapper=/etc/lightdm/Xsession

[Seat:seat0]
xserver-command=/usr/bin/X :0 vt7
xserver-layout=seat0

[Seat:seat1]
xserver-command=/usr/bin/X :1 vt8
xserver-layout=seat1

[XDMCPServer]

[VNCServer]

I reconfigured loginctl

loginctl seat-status seat1
 loginctl seat-status seat1                                                                                                                  
seat1
        Sessions: *4
         Devices:
                  β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
                  β”‚ [MASTER] drm:card0
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0/card0-DVI-D-1
                  β”‚ β”‚ [MASTER] drm:card0-DVI-D-1
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0/card0-DVI-I-1
                  β”‚ β”‚ [MASTER] drm:card0-DVI-I-1
                  β”‚ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0/card0-HDMI-A-1
                  β”‚   [MASTER] drm:card0-HDMI-A-1
                  β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/graphics/fb1
                  β”‚ graphics:fb1 "nouveau"
                  β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0
                  β”‚ sound:card0 "NVidia_1"
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input20
                  β”‚ β”‚ input:input20 "HDA NVidia HDMI/DP,pcm=3"
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
                  β”‚ β”‚ input:input21 "HDA NVidia HDMI/DP,pcm=7"
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22
                  β”‚ β”‚ input:input22 "HDA NVidia HDMI/DP,pcm=8"
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input23
                  β”‚ β”‚ input:input23 "HDA NVidia HDMI/DP,pcm=9"
                  β”‚ β”œβ”€/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input24
                  β”‚ β”‚ input:input24 "HDA NVidia HDMI/DP,pcm=10"
                  β”‚ └─/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input25
                  β”‚   input:input25 "HDA NVidia HDMI/DP,pcm=11"
                  └─/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1
                    usb:1-7.1
                    β”œβ”€/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:1024.0005/input/input17
                    β”‚ input:input17 "Logitech M310"
                    └─/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16
                      input:input16 "Logitech K520"
                      β”œβ”€/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16/inp>
                      β”‚ leds:input16::capslock
                      β”œβ”€/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16/inp>
                      β”‚ leds:input16::compose
                      β”œβ”€/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16/inp>
                      β”‚ leds:input16::kana
                      β”œβ”€/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16/inp>
                      β”‚ leds:input16::numlock
                      └─/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-7/1-7.1/1-7.1:1.2/0003:046D:C52B.0003/0003:046D:2011.0006/input/input16/inp>
                        leds:input16::scrolllock

Now i do have multiseat again

In the last few years i did work without any xorg.conf. This leads to xorg using internal defaults. This worked very good. (mostly :wink: )

I had thought it would now be necessary to create again a xorg.conf because of my problems. But it does work without :slight_smile:

One problem remains

  • When the computer boots, the monitor at seat0 shows lightdm login and works flawless.
  • The monitor at seat1 stays dark. loginctl list-sessions says there is a lightdm at seat1 waiting for login :thinking: but the screen stays dark.
  • When the password for the user of seat1 is typed blindly into its keyboard (as if lightdm would have been visible), after the Enter key is pressed, the monitor of seat1 will suddenly show the desktop as if nothing has been wrong at all. :innocent:

:rofl:

2 Likes