Automatically Unlock kdewallet when logging in with the same password

Ubuntu Version:
Kubuntu 25.10

Desktop Environment (if applicable):
KDE Plasma

Problem Description:
Whenever I log in to my account, I type in the password on the lockscreen. Then I get a popup saying kdewallet needs a password to unlock. I enter the same password, and it unlocks.

What I expect to happen is kdewallet should be able to unlock with the password I just typed in at the login screen. I believe this is supposed to be the default, but it doesn’t work for me.

Relevant System Information:

At one point, I changed the system configuration to try and enable fingerprint login at boot. But when I realized that I would need to type the password to unlock kdewallet anyway, I changed it back.

Screenshots or Error Messages:

Screenshot_20251105_211507

Not sure if this AppArmor stuff is related, but posting because it is part of the template:

$ sudo dmesg | tail -20
[sudo] Place your finger on the fingerprint reader
[386108.891072] audit: type=1400 audit(1762395285.956:703): apparmor="DENIED" operation="capable" class="cap" profile="fusermount3" pid=731422 comm="fusermount3" capability=1  capname="dac_override"
[386108.891078] audit: type=1400 audit(1762395285.956:704): apparmor="DENIED" operation="capable" class="cap" profile="fusermount3" pid=731422 comm="fusermount3" capability=7  capname="setuid"
[386108.891189] audit: type=1400 audit(1762395285.956:705): apparmor="DENIED" operation="capable" class="cap" profile="fusermount3" pid=731423 comm="fusermount3" capability=7  capname="setuid"
[386394.604437] audit: type=1400 audit(1762395571.669:706): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386394.604452] audit: type=1400 audit(1762395571.669:707): apparmor="DENIED" operation="mknod" class="file" profile="/usr/bin/wsdd" name="/var/lib/libuuid/clock.txt" pid=733957 comm="python3" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[386397.605677] audit: type=1400 audit(1762395574.670:708): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386397.606673] audit: type=1400 audit(1762395574.671:709): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386399.607488] audit: type=1400 audit(1762395576.672:710): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386399.615838] audit: type=1400 audit(1762395576.680:711): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386399.627238] audit: type=1400 audit(1762395576.692:712): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/wsdd" name="/etc/host.conf" pid=733957 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[386399.627242] audit: type=1400 audit(1762395576.692:713): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/wsdd" name="/run/systemd/resolve/stub-resolv.conf" pid=733957 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=990
[386399.627244] audit: type=1400 audit(1762395576.692:714): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/wsdd" name="/etc/hosts" pid=733957 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[386399.807764] audit: type=1400 audit(1762395576.872:715): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386399.808668] audit: type=1400 audit(1762395576.873:716): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/wsdd" name="/run/systemd/resolve/stub-resolv.conf" pid=733957 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=990
[386399.808690] audit: type=1400 audit(1762395576.873:717): apparmor="DENIED" operation="open" class="file" profile="/usr/bin/wsdd" name="/etc/hosts" pid=733957 comm="python3" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[386399.900617] audit: type=1400 audit(1762395576.965:718): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386399.928688] audit: type=1400 audit(1762395576.993:719): apparmor="DENIED" operation="connect" class="file" profile="/usr/bin/wsdd" name="/run/uuidd/request" pid=733957 comm="python3" requested_mask="w" denied_mask="w" fsuid=1000 ouid=0
[386426.953417] show_signal_msg: 9 callbacks suppressed
[386426.953421] maliit-keyboard[731447]: segfault at 56caa4fdc000 ip 000074023a74ba40 sp 00007ffe65c50a68 error 4 in libQt5Core.so.5.15.17[34ba40,74023a48f000+34b000] likely on CPU 3 (core 3, socket 0)
[386426.953430] Code: 39 d6 0f 84 36 03 00 00 4c 39 c2 0f 83 21 03 00 00 55 48 89 e5 41 55 41 54 53 4c 89 c0 48 29 d0 48 83 f8 0f 0f 8e 20 02 00 00 <f3> 0f 6f 02 66 0f d7 c0 85 c0 75 25 e9 df 01 00 00 0f 1f 40 00 66

What I’ve Tried:

  • Upgrade to 25.10
  • Create a brand new user account
  • Delete the old wallet and create a new wallet in kdewallet.

Thank you!
-sem

This can happen if you change your password at any point. Not that you did that, but it can happen.

Reset your kdewallet password to the password you use to login and see if that works.

1 Like

This happens to me too. The thing is Brave uses KDE wallet to store its information - so every time when I open Brave it asks for it. I am also wondering if there is an automatic way or say, if I can use fingerprint to unlock it instead of punching in the password for yet another round. Meh.

  1. Even though my current kdewallet password is identical to the password I use to login, I tried resetting it anyway via this Stack Exchange answer: https://askubuntu.com/a/225957/53508

To change the password for KDE wallet, you need to first have it running. If it is not running, start it.

In the system tray, you would find its icon. Click on the icon (left-click, not right-click). A new window would open with the list of wallets (by default there is just 1). Right click the wallet and you have the option to change the password.

Then, I logged out and back in again. I still get the same popup window from the first post, asking for the password.

  1. Next I tried changing my login password, and then changing the kdewallet password to match the new password.

Doing this caused the KDE System Settings app to hang and turn gray, but it went through. After logging out and back in again, I am still prompted to put in the kdewallet password.

  1. I went to change my password back under KDE System Settings > Users, and this time it did not turn grey and hang, and I got this message:

I clicked “Change Wallet Password” and changed the kdewallet password again.

After logging out and logging back in again… it still prompts me for my kdewallet password.

I have not been able to find any documentation about how kdewallet automatically unlocks, and I don’t really understand PAM. Can I get some more assistance?

This topic was automatically closed after 30 days. New replies are no longer allowed.