SDDM crashing after typing in password

I updated my system to 38.20231201.0 and SDDM started failing after typing in my password:

Nov 30 19:28:58 snowy sddm-helper[1563]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_unix(sddm:session): session opened for user cassidy(uid=1000) by cassidy(uid=0)
Nov 30 19:28:58 snowy sddm-helper[1563]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Nov 30 19:28:58 snowy sddm-helper[1563]: Starting Wayland user session: "/etc/sddm/wayland-session" "/usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_unix(sddm:session): session closed for user cassidy
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Nov 30 19:28:58 snowy sddm-helper[1563]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Nov 30 19:28:58 snowy sddm[1383]: Auth: sddm-helper exited with 1

I rebased to 39.20231201.0 and the same thing was still happening. I was using fish for my shell, and I thought that might be the issue, so I switched to bash. That didn’t fix it though.

Edit: I fixed it! I had fish at the end of my .bashrc, and removing that made it work.

I had the same with lightdm. From /var/log/secure it appeared there was a pam error in module pam_env, complaining about file /etc/environment where a variable was set via export which is no longer allowed. Would be big coincidence if you have the same problem but you can check.

1 Like

Thank you for your help. I actually just fixed it though.