You are not logged in.
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
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
There are a couple of typos there. This is what mine looks like:
exec-once = /usr/lib/pam_kwallet_init
exec-once = qdbus6 org.kde.kwalletd6 /modules/kwalletd6 org.kde.KWallet.open kdewallet 0 loginI also configured my display manager (SDDM) according to the Arch Wiki:
https://wiki.archlinux.org/title/KDE_Wa … figure_PAM
After logging in, the wallet opens automatically without prompting me for the password again.
For context: I have KDE Plasma 6 fully installed alongside Hyprland, not just Hyprland with a few KDE applications. If this solution does not work for you, it might be due to differences in setup.
Last edited by Xrayya (2026-02-17 03:02:49)
Offline