yt04ka
January 25, 2025, 9:24am
1
Hi. I’m having a laptop (HP with Ryzen 4600H) running CachyOS with Plasma Wayland. When i click Switch User from plasma menu, system freezes. If i click Switch User from lock screen, it also freezes completely and i can’t look up logs. The only way it doesn’t freeze is to log out from one user before switching to another. It’s probably important to also say I have now an autologin on boot to Plasma session, but i had freezing issues before setting it up.
I heard there are some issues with multiuser in systemd and wayland, but it can’t be that bad, right?
sounds like it could be an sddm issue?
opened 09:11PM - 09 Mar 24 UTC
Steps:
Have SDDM configured to use kwin (as stated in arch wiki)
https://wiki.… archlinux.org/title/SDDM#Running_under_Wayland
Login into a kde session
Menu -> Shutdown -> Switch User
Freeze
```
mar 09 17:55:45 URSO sddm[713]: Session started true
mar 09 17:56:40 URSO sddm[713]: Adding new display...
mar 09 17:56:40 URSO sddm[713]: Loaded empty theme configuration
mar 09 17:56:40 URSO sddm[713]: Using VT 1
mar 09 17:56:40 URSO sddm[713]: Display server started.
mar 09 17:56:40 URSO sddm[713]: Socket server starting...
mar 09 17:56:40 URSO sddm[713]: Socket server started.
mar 09 17:56:40 URSO sddm[713]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
mar 09 17:56:40 URSO sddm[713]: Greeter starting...
mar 09 17:56:40 URSO sddm-helper[1958]: [PAM] Starting...
mar 09 17:56:40 URSO sddm-helper[1958]: [PAM] Authenticating...
mar 09 17:56:40 URSO sddm-helper[1958]: [PAM] returning.
mar 09 17:56:40 URSO sddm-helper[1958]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=976) by (uid=0)
mar 09 17:56:40 URSO systemd-logind[604]: New session c1 of user sddm.
mar 09 17:56:40 URSO (systemd)[1974]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>]
mar 09 17:56:40 URSO (systemd)[1974]: pam_unix(systemd-user:session): session opened for user sddm(uid=976) by sddm(uid=0)
mar 09 17:56:40 URSO systemd-xdg-autostart-generator[1984]: Opening /var/lib/sddm/.config/autostart failed, ignoring: Permission denied
mar 09 17:56:40 URSO systemd[1974]: Failed to resolve symlink /var/lib/sddm/.config/systemd/user.control, ignoring: Permission denied
mar 09 17:56:40 URSO systemd[1974]: Failed to resolve symlink /var/lib/sddm/.config/systemd/user, ignoring: Permission denied
mar 09 17:56:40 URSO systemd[1974]: Failed to open "/var/lib/sddm/.config/systemd/user.control", ignoring: Permission denied
mar 09 17:56:40 URSO systemd[1974]: Failed to open "/var/lib/sddm/.config/systemd/user", ignoring: Permission denied
mar 09 17:56:40 URSO systemd[1]: Started Session c1 of User sddm.
mar 09 17:56:40 URSO sddm-helper[1997]: Failed to take control of "/dev/tty1" ("marcelo"): Operação não permitida
mar 09 17:56:40 URSO sddm[713]: Greeter session started successfully
mar 09 17:56:40 URSO sddm-helper[1958]: [PAM] Closing session
mar 09 17:56:40 URSO sddm-helper[1958]: pam_unix(sddm-greeter:session): session closed for user sddm
mar 09 17:56:40 URSO sddm-helper[1958]: [PAM] Ended.
mar 09 17:56:40 URSO sddm[713]: Auth: sddm-helper exited with 5
mar 09 17:56:40 URSO sddm[713]: Greeter stopped. SDDM::Auth::HELPER_TTY_ERROR
mar 09 17:56:40 URSO sddm[713]: Jumping to VT 1
mar 09 17:56:40 URSO sddm[713]: VT mode didn't need to be fixed
mar 09 17:56:40 URSO sddm[713]: Socket server stopping...
mar 09 17:56:40 URSO sddm[713]: Socket server stopped.
mar 09 17:56:40 URSO sddm[713]: Removing display SDDM::Display(0x5ad625f04ea0) ...
mar 09 17:56:40 URSO sddm[713]: Jumping to VT 1
mar 09 17:56:40 URSO sddm[713]: VT mode didn't need to be fixed
```
interesting line here is:
mar 09 17:56:40 URSO sddm-helper[1997]: Failed to take control of "/dev/tty1" ("marcelo"): Operação não permitida
Maybe sddm is trying to load into the wrong VT (since it belong to my user)
yt04ka
January 26, 2025, 11:39pm
3
I guess it is a SDDM issue, but i can’t even change VT with Ctrl+Alt+F1-9. I checked arch wiki and SDDM was already configured to use KWin. If i disable autologin (auto relogin on logout always off) it does not freeze when changing user for the first rime, but freezes when switching back but here Ctrl+Alt+F2 works. Weird.
that is really odd.
I have an hp elitebook with a ryzen 5850u, I’ll try installing the latest cachyos on it and see if I get the same issue. it is a newer processor/gpu so it wont be the best comparison…