You are not logged in.

#1 2024-04-17 09:50:35

dcy3rka
Member
Registered: 2022-01-19
Posts: 53

[SOLVED] Cannot switch user: XDG_SEAT_PATH not set

If I want to switch the user via startmenu -> switch user, it doesn't work anymore since update to plasma 6.0.

# journalctl
plasmashell[137288]: org.kde.plasma.libkworkspace: Cannot switch user: XDG_SEAT_PATH not set

I'm using:
- plasma 6.0.3
- gdm 46.0
- wayland

Any help, where I have to set XDG_SEAT_PATH?

Last edited by dcy3rka (2024-04-18 21:25:53)

Offline

#2 2024-04-17 16:41:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,881

Re: [SOLVED] Cannot switch user: XDG_SEAT_PATH not set

"not" - that's GDMs job.

echo $XDG_SEAT_PATH # /org/freedesktop/DisplayManager/Seat0 ?

The problem is likely that plasma starts as a systemd user unit and doesn't inherit the environment, see also eg. https://github.com/baskerville/bspwm/issues/1234

Do NOT hardcode that value anywhere
You could also try SDDM instead of GDM (whether it eg. sets the value earlier)

Online

#3 2024-04-18 21:25:28

dcy3rka
Member
Registered: 2022-01-19
Posts: 53

Re: [SOLVED] Cannot switch user: XDG_SEAT_PATH not set

seth wrote:

You could also try SDDM instead of GDM (whether it eg. sets the value earlier)

I switched to GDM because of many problems. But since the new release of SDDM with many bugfixes and maybe in the future in the lead of KDE I will give it another try. The user switch is working again with SDDM.

Offline

Board footer

Powered by FluxBB