You are not logged in.

#1 2024-03-31 21:15:58

yorkz
Member
Registered: 2020-03-22
Posts: 32

Unlock KDE Wallet Automatically on Login Not Working

I am facing a challenge with automatically unlocking the KDE Wallet (kdewallet) on login. Despite following the Unlock KDE Wallet automatically on login and modifying the PAM configuration, the wallet does not unlock automatically, requiring manual intervention each time.

Setup details:

  • Window Manager: StumpWM started by startx (not using a full KDE desktop)

  • kwallet Version: 6.0.0-3

  • PAM Configuration: Added `pam_kwallet5.so` to `/etc/pam.d/login`

Specifically, I have added the following lines to my `/etc/pam.d/login` file:

auth       optional     pam_kwallet5.so
session    optional     pam_kwallet5.so auto_start force_run

And the following in .xinitrc:

/usr/bin/kwalletd6 &

However, upon logging in, I am still prompted to unlock the wallet manually.

I would greatly appreciate any insights, suggestions, or guidance on troubleshooting this issue and achieving seamless KDE Wallet integration.

Offline

#2 2024-03-31 21:39:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,153

Re: Unlock KDE Wallet Automatically on Login Not Working

LC_ALL=C pacman -Fx pam_kwallet
extra/kwallet-pam 5.27.9-1 (plasma) [installed: 6.0.2-3]
    etc/xdg/autostart/pam_kwallet_init.desktop
    usr/lib/pam_kwallet_init
    usr/lib/security/pam_kwallet5.so

kwallet-pam installed?

FWIW since no graphical session is up and kwallet started rather late, I'd see the case where you might have to opt for some display manager for the proper login working correctly, so the transition into a GUI session is more seamless.

Last edited by V1del (2024-03-31 21:40:37)

Online

#3 2024-03-31 21:43:31

yorkz
Member
Registered: 2020-03-22
Posts: 32

Re: Unlock KDE Wallet Automatically on Login Not Working

Thanks a lot for the quick response. Yes, installed. The following is the confirmation:

LC_ALL=C pacman -Fx pam_kwallet
extra/kwallet-pam 5.27.9-1 (plasma) [installed: 6.0.2-3]
    etc/xdg/autostart/pam_kwallet_init.desktop
    usr/lib/pam_kwallet_init
    usr/lib/security/pam_kwallet5.so

I use rootless Xorg, I'm under the impression that rootless Xorg is not supported on display managers, is that right?

Last edited by yorkz (2024-03-31 21:47:14)

Offline

Board footer

Powered by FluxBB