Bug 445706 - [Systemd startup + Wayland] Restarting KWin causes KWallet to ask for credentials to unlock, rather than unlocking automatically
Summary: [Systemd startup + Wayland] Restarting KWin causes KWallet to ask for credent...
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
Keywords: wayland
Depends on:
Reported: 2021-11-18 16:35 UTC by Nate Graham
Modified: 2022-02-14 23:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2021-11-18 16:35:54 UTC
Everything KDE from git master in a Wayland session with systemd startup.

My KWallet wallet is set up correctly to unlock automatically on login. However when KWin restarts, the wallet locks again and does not automatically unlock. Instead it displays a password prompt and makes me unlock manually. This is 100% reproducible simply by restarting KWin with `kstart -- kwin_wayland --replace`.

Possibly related to Bug 436442.
Comment 1 Nate Graham 2022-01-14 21:40:16 UTC

*** This bug has been marked as a duplicate of bug 448479 ***
Comment 2 Nate Graham 2022-01-20 19:38:59 UTC
I can confirm that the fix for Bug 448479 fixes the issue on login, but it still happens for me when I restart kwin_wayland manually or it crashes. Un-marking as a duplicate.
Comment 3 David Edmundson 2022-02-14 23:25:49 UTC
Restarting kwin wayland will cause all clients to quit. Including the unlocked PAM.
Comment 4 David Edmundson 2022-02-14 23:26:11 UTC
* including the unlocked kwallet.
Comment 5 Nate Graham 2022-02-14 23:33:01 UTC

So assuming we can't make KWin never ever crash, how do we fix this so that the newly-started KWallet instance unlocks automatically like it does when you log in? I have difficulty believing that this is impossible.