Bug 483068

Summary: On X11, must enter wireless password upon login when systemd boot is disabled
Product: [Plasma] plasmashell Reporter: S. Christian Collins <s_chriscollins>
Component: Startup processAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde, kdedev, nate
Priority: NOR Keywords: qt6, X11-only
Version First Reported In: 6.0.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description S. Christian Collins 2024-03-10 04:21:05 UTC
SUMMARY
Some of my startup scripts/applications fail to start with systemd boot enabled, so I have disabled it by creating "~/.config/startkderc" containing:

  [General]
  systemdBoot=false

This worked without issue in Plasma 5, but in Plasma 6, this causes KDE Wallet to prompt for the wireless password every boot after logging in. This issue happens in X11, but not Wayland. The wireless network is set with the "All users may connect to this network" option, so no password prompt should be happening.

STEPS TO REPRODUCE
1. Make sure you are on a laptop with a default wireless network that you auto-login to.
2. Make sure to enable "All users may connect to this network" in the wireless network options so that there should normally be no need for a wireless network password prompt.
3. Disable systemd boot. Here's a quick command to create/edit `startkderc`:

     kwriteconfig5 --file startkderc --group General --key systemdBoot false

4. Restart and log into a Plasma X11 session.

OBSERVED RESULT
A wireless password box pops up on login. The titlebar says "KDE Wallet Service" and the message reads "The application 'kded6' has requested to open the wallet 'kdewallet'. Please enter the password for this wallet below." 

EXPECTED RESULT
I shouldn't need to enter the wireless network password as it is supposed to be remembered by the system.

SOFTWARE/OS VERSIONS
Linux: KDE neon User Edition 6.0
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Nate Graham 2024-03-13 15:42:46 UTC
I can't reproduce this issue. In fact for me it's the opposite: I get a KWallet prompt to unlock the wallet only when I *am* using systemd boot!

...Only on Wayland though. I haven't tested X11.
Comment 2 S. Christian Collins 2024-03-13 22:40:44 UTC
Yes, for me the issue only happens on X11.
Comment 3 TraceyC 2024-09-24 19:01:20 UTC
I'm not able to reproduce this with X11 on git-master or Plasma 6.1.5, FWIW, using the same steps provided.

Side note: I don't get a KWallet prompt with *or* without `systemdBoot=false` for a wifi network set to auto-login and that all users may connect to (X11)
Comment 4 S. Christian Collins 2024-10-24 13:26:51 UTC
This still happens for me in KDE neon 6.2 (Ubuntu 24.04 base), with Plasma 6.2.1, Frameworks 6.7.0, and Qt 6.7.2.
Comment 5 Nate Graham 2025-04-08 19:56:53 UTC
And still only on X11, right? How about also in Plasma 6.3?
Comment 6 Nate Graham 2025-08-19 20:23:24 UTC
I'm afraid X11 and non-systemd installations are not so actively developed for in Plasma these days — double so for the combination of both at once. I'm closing this bug report to avoid providing false hope of it ever being investigated and fixed.

Since you said some of your apps didn't autostart with the systemd boot, it might be worth trying again if you've got a newer version of systemd now, as there were some upstream changes to make autostart more reliable.
Comment 7 S. Christian Collins 2025-08-19 20:29:21 UTC
Sorry for forgetting about this bug. I've been on Wayland and systemd now for a while (also switched to Fedora) without any issues. Thanks for all you do, Nate!
Comment 8 Nate Graham 2025-08-19 20:36:33 UTC
You're welcome!