Skip to content

fix(kde): don't start X11-dependent services if xwayland is disabled#1178

Merged
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:plasma-ksmserver-condition
Jul 11, 2025
Merged

fix(kde): don't start X11-dependent services if xwayland is disabled#1178
RoyalOughtness merged 3 commits intosecureblue:livefrom
HastD:plasma-ksmserver-condition

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Jul 10, 2025

ksmserver is KDE Plasma's X11 session management server and fails if Xwayland is disabled. This adds a condition to plasma-ksmserver.service, preventing it from starting if the override disabling Xwayland is detected.

This fixes this KDE bug for secureblue in a manner independent of the upstream fix: it prevents the bug from triggering before the upstream fix is applied, and it will continue working afterward (at which point it will simply prevent the service from showing up as a failed service in systemctl --user status and such).

Similarly, the same condition is added to plasma-xembedsniproxy.service, whose sole purpose is X11 compatibility and is therefore pointless with Xwayland disabled.

I did not apply the same override to two other services that currently fail with Xwayland disabled, plasma-gmenudbusmenuproxy.service and plasma-kaccess.service, because it looks like those aren't inherently tied to X11 but just haven't been made to work with Wayland yet.

ksmserver is KDE Plasma's X11 session management server and fails if
Xwayland is disabled. This adds a condition to plasma-ksmserver.service,
preventing it from starting if the override disabling Xwayland is
detected.
@HastD HastD requested a review from RoyalOughtness as a code owner July 10, 2025 23:07
This is another service that's pointless if Xwayland is disabled.
@HastD HastD changed the title fix(kde): don't start plasma-ksmserver if xwayland is disabled fix(kde): don't start X11-dependent services if xwayland is disabled Jul 10, 2025
@RoyalOughtness RoyalOughtness merged commit 4065f3c into secureblue:live Jul 11, 2025
17 of 18 checks passed
@HastD HastD deleted the plasma-ksmserver-condition branch July 11, 2025 22:40
RoyalOughtness pushed a commit to RoyalOughtness/secureblue-dev that referenced this pull request Aug 4, 2025
…ecureblue#1178)

* fix(kde): don't start plasma-ksmserver if xwayland is disabled

ksmserver is KDE Plasma's X11 session management server and fails if
Xwayland is disabled. This adds a condition to plasma-ksmserver.service,
preventing it from starting if the override disabling Xwayland is
detected.

* apply same condition to plasma-xembedsniproxy.service

This is another service that's pointless if Xwayland is disabled.

* use systemctl to make condition more robust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants