Summary: | Plasma session with Xwayland disabled exits unexpectedly when `systemctl --user daemon-reload` is run | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Daniel Hast <danielrh+kdebugs> |
Component: | Startup process | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, kdedev, nate |
Priority: | NOR | ||
Version First Reported In: | 6.3.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/4e79a89d6ed117761c2f9e2801c9ecc045b57b10 | Version Fixed In: | 6.5.0 |
Sentry Crash Report: |
Description
Daniel Hast
2025-04-21 15:21:40 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5668 Git commit 4e79a89d6ed117761c2f9e2801c9ecc045b57b10 by Nate Graham, on behalf of Daniel Hast. Committed on 11/07/2025 at 15:31. Pushed by ngraham into branch 'master'. fix(startkde): make plasma-ksmserver.service Wants instead of Requires (BUG: 503120) ### Reason for the change This changes `plasma-ksmserver.service` from a strong dependency (`Requires=`) to a weak dependency (`Wants=`) in `plasma-core.target`. This means that, if ksmserver fails (which will happen, for example, in a Wayland session with Xwayland disabled), it will not cause the whole Plasma session to fail. (Currently this failure seems to only be triggered when the user service manager is reloaded, for example by running `systemctl --user daemon-reload`; I think this has to do with the order the services are loaded in.) Note that `plasma-workspace-x11.target` has `BindsTo=plasma-ksmserver.service`, a strictly stronger dependency requirement, so this change has no impact on X11 sessions. ### Bugs fixed M +1 -1 startkde/systemd/plasma-core.target https://invent.kde.org/plasma/plasma-workspace/-/commit/4e79a89d6ed117761c2f9e2801c9ecc045b57b10 |