I left my home folder unintentionally set to read-only for a short while, oops! Now when I open up a KDE session, the kwallet is no longer unlocked, and whenever an app wants access to it I get a prompt for a manual password input even though it is set to use my login password. How would I best fix this? Any hints to undo my silly mistake would be appreciated.
Can you clarify what exactly you did to make this happen?
I replaced /home with a different and empty partition, but then forgot to create the user folder. So the home folder was set to a non-existing subfolder, the entire partition was only writable by root, and the config seemed a little confused. Once I repaired this and rebooted, most things worked but kwallet auto unlock still doesnât.
KWallet works on all my other postmarketOS machines, only on this one it broke.
Might be a case of âturn it off and on again.â e.g.:
- disable and re-enable auto-login
- rename your old wallet to something else and then change it to being named âkdewalletâ
- change your user accountâs password to something else and then change it back
- uninstall the
kwallet-pampackage and re-install it
I already tried re-creating the wallet, since after the home folder was writable again it manually asked me to do so and manually user a password (where I entered my user password). How would I change the wallet auto-unlock? Sorry if thatâs an obvious button somewhere, but I canât see it in the kwallet settings.
Auto-wallet-unlock requires the following conditions that Iâm aware of:
kwallet-pampackage is installed- wallet is named
kdewallet - walletâs password is the same as your user accountâs login password
There may be other requirements too, like maybe permissions and ownership being correct, but I donât know about those.
I just double-checked all three of these conditions, and reinstalled kwallet-pam and rebooted, and sadly it doesnât work. Opening up kwalletmanager after logging in says âThe âkdewalletâ wallet is currently closed.â There must be some sort of initial setup step that my read-only home prevented that I perhaps have to trigger manually now.
On Fedora f42 Plasma Edition, there is no package that I can find named kwallet-pam.
$ sudo dnf list kwallet*
Updating and loading repositories:
Repositories loaded.
Installed packages
kwalletmanager5.x86_64 25.08.1-1.fc42 updates
Available packages
kwallet.x86_64 4.12.3-27.fc42 fedora
kwalletmanager.x86_64 15.04.3-26.fc42 fedora
kwalletmanager5.i686 24.12.3-1.fc42 fedora
Would you please suggest a different one? Thanks!
(The thing about having to unlock my wallet with my login password just after unlocking my screen with this same password never made sense to meâunless I use a different one for kwallet, which Iâve found no way to change.
)
Interestingly, Iâve read about a person with that problem with GNOME keyring just today. It seems surprisingly common. Perhaps the wallet UIs should consider a âfix autounlockâ button.
I just found out ksystemstats isnât launching for me either. It seems like some autostart things werenât set up as intended, which given the briefly read-only home folder makes sense.
But itâs not quite clear to me how to fix that.
After seeing your thread, and having experienced a peculiar effect of having to constantly re-enter my login password to a kwallet prompt GUI panel myself, I opened the kwalletmanager SettingsâConfigure Wallet⌠panel and reset it to the defaults. It fixed my issue. Have you tried doing that yet?
Good luck!
I just tried it and rebooted, sadly it didnât fix it.
I concluded that this situation and the lack of a solution probably is some sort of bug: https://bugs.kde.org/show_bug.cgi?id=511471