You are not logged in.

#1 2025-07-06 18:52:57

Sqwert
Member
Registered: 2025-07-06
Posts: 1

KWallet not auto-unlocking on login/resume

Hi, I have a recurring issue where Kwallet does not unlock on login. It also appears to not unlock when I resume from Hyprlock.

I verify this is happening by opening `kwalletmanager5` and observing that the wallet is closed. If I do not manually unlock this prior to opening my browser (Brave), it will lose it's sync and I'll have to resync it.
My wallet is named `kdewallet` and it uses the same password as my user login. When I manually unlock the wallet from within kwalletmanger5, it does not prompt for a password, which tells me that there is no mismatch between the wallet and the user.

My setup is simply Hyprand with UWSM. So I am not using any display manager.

I've configured the `/etc/pam.d/login` as per: https://wiki.archlinux.org/title/KDE_Wallet, here is what it looks like:

~~~
$ cat /etc/pam.d/login
#%PAM-1.0

auth       requisite    pam_nologin.so
auth       include      system-local-login
auth       optional     pam_kwallet5.so
account    include      system-local-login
session    include      system-local-login
session    optional     pam_kwallet5.so auto_start force_run
password   include      system-local-login
~~~

In my `hyprland.conf` I have this line set:

~~~
exec-once = /usr/lib/pam_kwallet_init
~~~

If there are any specific commands or outputs you'd need from my end, please let me know and I'll provide them.

I could really use some help in resolving this issue. Any advice is appreciated.

Offline

#2 Yesterday 15:22:55

F3R07
Member
Registered: 2025-10-08
Posts: 1

Re: KWallet not auto-unlocking on login/resume

I figured it out. It's not perfect, you still have to enter your password to open the wallet, but at least you don't have to manually open the wallet anymore: I added to hyprland.conf
exec-once = qdbus 6 org.kde.kwalletd6 /modules/kwalletd6 org.kde.Kwallet.open kdewallet 0 login

Offline

Board footer

Powered by FluxBB