Bug 504254 - Failure to unlock wallet at boot causing kwallet passphrase prompts in the middle of user session
Summary: Failure to unlock wallet at boot causing kwallet passphrase prompts in the mi...
Status: RESOLVED DUPLICATE of bug 502808
Alias: None
Product: kwallet-pam
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-15 09:23 UTC by Andrea Ippolito
Modified: 2025-05-15 18:37 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
result of journalctl -b | grep wallet |tee journalctl.txt (5.57 KB, text/plain)
2025-05-15 12:42 UTC, Olivier BELLEUX
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2025-05-15 09:23:01 UTC
For the past couple of days I have noticed the kwallet password prompt popup appearing in the middle of my session, something I had never seen, since the wallet passphrase matches my user's password, and so it would usually unlock at login.

I checked the journal and found this:

```
❯ journalctl -b  | grep wallet 
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
May 15 11:12:51 andromeda sddm-helper[2059]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
May 15 11:12:51 andromeda kwalletd6[2060]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
May 15 11:12:51 andromeda kwalletd6[2060]: Failed to create wl_display (No such file or directory)
May 15 11:12:51 andromeda kwalletd6[2060]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
May 15 11:12:51 andromeda kwalletd6[2060]: qt.qpa.xcb: could not connect to display
May 15 11:12:51 andromeda kwalletd6[2060]: qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
May 15 11:12:51 andromeda kwalletd6[2060]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
May 15 11:12:51 andromeda kwalletd6[2060]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
May 15 11:12:51 andromeda systemd-coredump[2091]: Process 2060 (kwalletd6) of user 1000 dumped core.
                                                  #10 0x0000563c9eaad881 n/a (/usr/bin/kwalletd6 + 0xb881)
                                                  #13 0x0000563c9eaade55 n/a (/usr/bin/kwalletd6 + 0xbe55)
May 15 11:12:51 andromeda drkonqi-coredump-launcher[2179]: Unable to find file for pid 2060 expected at "kcrash-metadata/kwalletd6.5d4297b17c024fbdac3a1452a8147371.2060.ini"
May 15 11:12:52 andromeda systemd[2030]: Started Unlock kwallet from pam credentials.
May 15 11:12:52 andromeda pam_kwallet_init[2357]: 2025/05/15 11:12:52 socat[2357] W address is opened in read-write mode but only supports read-only
May 15 11:12:52 andromeda pam_kwallet_init[2357]: 2025/05/15 11:12:52 socat[2357] E connect(, AF=1 "/run/user/1000/kwallet5.socket", 32): Connection refused
May 15 11:12:52 andromeda systemd[2030]: plasma-kwallet-pam.service: Main process exited, code=exited, status=1/FAILURE
May 15 11:12:52 andromeda systemd[2030]: plasma-kwallet-pam.service: Failed with result 'exit-code'.
May 15 11:13:53 andromeda drkonqi-coredump-processor[2468]: "/usr/bin/kwalletd6" 5913 "/var/lib/systemd/coredump/core.kwalletd6.1000.439eae1c260541c5bbf39d41b8f05bb5.5913.1747216465000000.zst"
May 15 11:13:53 andromeda drkonqi-coredump-processor[2468]: "/usr/bin/kwalletd6" 2051 "/var/lib/systemd/coredump/core.kwalletd6.1000.658db4c19ae040fa8cb303cac676318f.2051.1747292849000000.zst"
May 15 11:13:53 andromeda drkonqi-coredump-processor[2468]: "/usr/bin/kwalletd6" 5762 "/var/lib/systemd/coredump/core.kwalletd6.1000.e121bb02b5ea4e928e1f4cb7bc20a9f8.5762.1747298827000000.zst"
May 15 11:13:53 andromeda drkonqi-coredump-processor[2468]: "/usr/bin/kwalletd6" 2034 "/var/lib/systemd/coredump/core.kwalletd6.1000.059fedc3f8844de1b121387df263c411.2034.1747300227000000.zst"
May 15 11:13:53 andromeda drkonqi-coredump-processor[2468]: "/usr/bin/kwalletd6" 2060 "/var/lib/systemd/coredump/core.kwalletd6.1000.5d4297b17c024fbdac3a1452a8147371.2060.1747300371000000.zst"
May 15 11:13:53 andromeda drkonqi-coredump-launcher[3854]: Unable to find file for pid 5913 expected at "kcrash-metadata/kwalletd6.439eae1c260541c5bbf39d41b8f05bb5.5913.ini"
May 15 11:13:53 andromeda drkonqi-coredump-launcher[3855]: Unable to find file for pid 2051 expected at "kcrash-metadata/kwalletd6.658db4c19ae040fa8cb303cac676318f.2051.ini"
May 15 11:13:53 andromeda drkonqi-coredump-launcher[3856]: Unable to find file for pid 5762 expected at "kcrash-metadata/kwalletd6.e121bb02b5ea4e928e1f4cb7bc20a9f8.5762.ini"
May 15 11:13:53 andromeda drkonqi-coredump-launcher[3857]: Unable to find file for pid 2034 expected at "kcrash-metadata/kwalletd6.059fedc3f8844de1b121387df263c411.2034.ini"
May 15 11:13:53 andromeda drkonqi-coredump-launcher[3858]: Unable to find file for pid 2060 expected at "kcrash-metadata/kwalletd6.5d4297b17c024fbdac3a1452a8147371.2060.ini"
```

System info:

Operating System: openSUSE Tumbleweed 20250513
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon  780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7

Please let me know if I can provide more info.

Thanks
Comment 1 Olivier BELLEUX 2025-05-15 12:41:44 UTC
I have the same bug on leap 15.6.

- pam_kwallet is not installed
- pam_kwallet6 is installed
- locate pam_kwallet5.so –> /lib64/security/pam_kwallet5.so
- zypper search --provides /lib64/security/pam_kwallet5.so –> pam_kwallet6

journalctl -b | grep wallet give me some errors.
Comment 2 Olivier BELLEUX 2025-05-15 12:42:34 UTC
Created attachment 181328 [details]
result of journalctl -b | grep wallet |tee journalctl.txt
Comment 3 michaelk83 2025-05-15 14:04:41 UTC
Duplicate at least of BUG 504082 (similar backtrace), and possibly of BUG 502808.

*** This bug has been marked as a duplicate of bug 504082 ***
Comment 4 Nate Graham 2025-05-15 18:37:08 UTC

*** This bug has been marked as a duplicate of bug 502808 ***