FS#68520 - [sddm] Unable to auto login after upgrading to sddm 0.19

Attached to Project: Arch Linux
Opened by Marcelo Marzola Bossoni (mmbossoni) - Tuesday, 03 November 2020, 23:20 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 November 2020, 09:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 14
Private No

Details

Description:
After upgrading to sddm 0.19 kde auto login no longer works
Kwallet pam is installed.

SDDM fails with Unknown Module message

nov 03 20:14:42 URSO sddm-helper[585]: [PAM] Authenticating...
nov 03 20:14:42 URSO sddm-helper[585]: gkr-pam: no password is available for user
nov 03 20:14:42 URSO sddm-helper[585]: pam_kwallet5(sddm-autologin:auth): (null): pam_sm_authenticate
nov 03 20:14:42 URSO sddm-helper[585]: [PAM] Preparing to converse...
nov 03 20:14:42 URSO sddm-helper[585]: pam_kwallet5(sddm-autologin:auth): pam_kwallet5: Couldn't get password (it is empty)
nov 03 20:14:42 URSO sddm-helper[585]: [PAM] Conversation with 1 messages
nov 03 20:14:42 URSO audit[585]: USER_AUTH pid=585 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=? acct="marcelo" ex>
nov 03 20:14:42 URSO kernel: audit: type=1100 audit(1604445282.021:26): pid=585 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication>
nov 03 20:14:42 URSO sddm-helper[585]: [PAM] authenticate: Módulo desconhecido
nov 03 20:14:42 URSO sddm-helper[585]: [PAM] returning.
nov 03 20:14:42 URSO sddm[571]: Authentication error: "Módulo desconhecido"
nov 03 20:14:42 URSO sddm-helper[585]: [PAM] Ended.
nov 03 20:14:42 URSO sddm[571]: Auth: sddm-helper exited with 1


Steps to reproduce:
Enable kwallet pam
Install SDDM 0.19
enable auto login
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 04 November 2020, 09:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  sddm 0.19.0-2
Comment by J. Andrew Lanz-O'Brien (jlanzobr) - Tuesday, 03 November 2020, 23:38 GMT
Broken for me as well on sddm 0.19. Downgrading fixed it. Added to IgnorePkg.
Comment by Michael (CowsRule) - Wednesday, 04 November 2020, 01:54 GMT
Auto-login isn't working for me with lxqt as my DE. I get the following messages:

sddm-helper[754]: PAM unable to dlopen(/usr/lib/security/pam_tally2.so): /usr/lib/security/pam_tally2.>
sddm-helper[754]: PAM adding faulty module: /usr/lib/security/pam_tally2.so
sddm-helper[754]: [PAM] Starting...
sddm-helper[754]: [PAM] Authenticating...
sddm-helper[754]: [PAM] authenticate: Module is unknown
sddm-helper[754]: [PAM] returning.
sddm[590]: Authentication error: "Module is unknown"
sddm-helper[754]: [PAM] Ended.
sddm[590]: Auth: sddm-helper exited with 1

If there is any other info I can provide let me know. I've never had to post on here for an issue I'm having so I am kind of new to this.
Comment by Preet Patel (cmdev007) - Wednesday, 04 November 2020, 07:55 GMT
for me also same error occurred.

Downgrading to sddm 0.18.1 helped.

if anyone is looking for package:
http://hpc.ilri.cgiar.org/mirror/archlinux/pool/packages/sddm-0.18.1-3-x86_64.pkg.tar.zst

commands:
(login to tty2 ; shortcut:- ctrl+alt+F2)

wget http://hpc.ilri.cgiar.org/mirror/archlinux/pool/packages/sddm-0.18.1-3-x86_64.pkg.tar.zst

sudo pacman -U sddm-0.18.1-3-x86_64.pkg.tar.zst

reboot
Comment by Alois Nespor (anespor) - Wednesday, 04 November 2020, 08:36 GMT
happens, because pam_tally2.so missing in Archlinux (or i am blind) :-)
Comment by Hanabishi (Hanabishi) - Wednesday, 04 November 2020, 08:44 GMT
Can confirm that the autologin is broken with sddm 0.19.0 update.
'/usr/lib/security/pam_tally2.so' doesn't exist.
Comment by Alois Nespor (anespor) - Wednesday, 04 November 2020, 08:57 GMT
temporary working fix
Comment by AMM (amish) - Wednesday, 04 November 2020, 09:21 GMT
This commit in Arch removed pam-faillock.diff switching it back to pam_tally2.so and hence broke sddm-autologin

https://github.com/archlinux/svntogit-packages/commit/04149d41824526288bf1988e5399439d8db13c64#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a

Here is original bug report which was fixed
https://bugs.archlinux.org/task/67372

And above commit broke it again by undoing it!

Loading...