https://bugs.kde.org/show_bug.cgi?id=514092

Mark Bolhuis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Mark Bolhuis <[email protected]> ---
Not OP but here is some extra feedback on the lack of multi-seat support.

I was trying to switch to PLM and also set up multi-seat. However since PLM
uses a single UID, systemd only starts a single [email protected]. As such only one
instance of plasma-login-kwin_wayland.service and others are running. Hence
only one wayland socket, one pipewire socket etc...

```
systemd[1]: Started Simple Desktop Display Manager.
plasmalogin[1353]: Initializing...
plasmalogin[1353]: Starting...
plasmalogin[1353]: Logind interface found
plasmalogin[1353]: Adding new display...
plasmalogin[1353]: Using VT -1
plasmalogin[1353]: Adding new display...
plasmalogin[1353]: Using VT 1
plasmalogin[1353]: Display server started.
plasmalogin[1353]: Socket server starting...
plasmalogin[1353]: Socket server started.
plasmalogin[1353]: Greeter starting...
plasmalogin[1353]: Display server started.
plasmalogin[1353]: Socket server starting...
plasmalogin[1353]: Socket server started.
plasmalogin[1353]: Greeter starting...
plasmalogin-helper[1355]: [PAM] Starting...
plasmalogin-helper[1355]: [PAM] Authenticating...
plasmalogin-helper[1356]: [PAM] Starting...
plasmalogin-helper[1356]: [PAM] Authenticating...
plasmalogin-helper[1355]: [PAM] returning.
plasmalogin-helper[1356]: [PAM] returning.
plasmalogin-helper[1356]: pam_unix(plasmalogin-greeter:session): session opened
for user plasmalogin(uid=951) by (uid=0)
plasmalogin-helper[1355]: pam_unix(plasmalogin-greeter:session): session opened
for user plasmalogin(uid=951) by (uid=0)
plasmalogin-helper[1356]: Starting Wayland user session:
"/usr/share/plasmalogin/scripts/wayland-session"
"/usr/bin/startplasma-login-wayland"
plasmalogin-helper[1355]: Starting Wayland user session:
"/usr/share/plasmalogin/scripts/wayland-session"
"/usr/bin/startplasma-login-wayland"
plasmalogin[1353]: Greeter session started successfully
plasmalogin[1353]: Greeter session started successfully
plasmalogin[1353]: Message received from greeter: Connect
```

```
user-951.slice
├─session-c1.scope
│ ├─1356 /usr/lib/libexec/plasmalogin-helper --socket
/tmp/plasmalogin-auth-a80a27ec-d89b-4fd3-8788-4cdd9f701b69 --id 4 --start
/usr/bin/startplasma-login-wayland --user plasmalogin --greeter
│ └─1391 /usr/bin/startplasma-login-wayland
├─session-c2.scope
│ ├─1355 /usr/lib/libexec/plasmalogin-helper --socket
/tmp/plasmalogin-auth-a80a27ec-d89b-4fd3-8788-4cdd9f701b69 --id 3 --start
/usr/bin/startplasma-login-wayland --user plasmalogin --greeter
│ └─1390 /usr/bin/startplasma-login-wayland
└─[email protected]
  ├─background.slice
  │ └─plasma-wallpaper.service
  │   └─1488 /usr/bin/plasma-login-wallpaper
  ├─init.scope
  │ ├─1372 /usr/lib/systemd/systemd --user
  │ └─1379 "(sd-pam)"
  └─session.slice
    ├─dbus-broker.service
    │ ├─1423 /usr/bin/dbus-broker-launch --scope user
    │ └─1424 dbus-broker --log 11 --controller 10 --machine-id
00000000000000000000000000000000 --max-bytes 100000000000000 --max-fds
25000000000000 --max-matches 5000000000
    ├─pipewire.service
    │ └─1489 /usr/bin/pipewire
    ├─plasma-login-kwin_wayland.service
    │ └─1425 /usr/bin/kwin_wayland --no-lockscreen --no-global-shortcuts
--no-kactivities
    ├─plasma-login.service
    │ └─1487 /usr/lib/libexec/plasma-login-greeter
    ├─wireplumber.service
    │ └─1491 /usr/bin/wireplumber
    └─xdg-permission-store.service
      └─1674 /usr/lib/xdg-permission-store
```

STEPS TO REPRODUCE
1. Create a new seat1 using loginctl attach /path/to/card1
2. Enable plasmalogin.service
3. Reboot.

OBSERVED RESULT
On seat0 the boot process stops at 'systemd[1]: Reached target Graphical
Interface.'
On seat1 a graphical login prompt is shown.
Both greeters are connecting to the single wayland compositor on one seat.

EXPECTED RESULT
A separate user session for PLM should be used for every seat.

POSSIBLE SOLUTIONS
I think this problem is exactly why GNOME now depends of something like
systemd-userdbd to allocate user ids dynamically, and a new [email protected] can
be spawned for each seat. PLM could could follow suit.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 28 × Intel® Core™ i7-14700K
Memory: 32 GiB of RAM (30.9 GiB usable)
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: llvmpipe

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to