Commit 19ba5f1c authored by David Edmundson's avatar David Edmundson
Browse files

Enforce SESSION_MANAGER is exported before plasmashell is started

Wants says we should bring ksmserver up, but by default that could be in
any order, we need to define it. kcminit also potentially exports
environment variables.

This was written with the correct order in-mind but the wrong keyword
used.  We don't need "Wants" as already defines that
we will be loading them along with plasmashell.

It is important that ksmserver is up and has completed exporting the
SESSION_MANAGER env, otherwise plasmashell will not propogate it so
applications it launches introducing an X session regression
parent 83f9c9c4
......@@ -582,7 +582,7 @@ KSMServer::KSMServer(InitFlags flags)
setenv("SESSION_MANAGER", session_manager, true);
auto updateEnvJob = new UpdateLaunchEnvJob(QStringLiteral("SESSION_MANAGER"), QString::fromLatin1(session_manager));
Description=KDE Plasma Workspace
Wants=plasma-ksmserver.service plasma-kcminit.service
After=plasma-ksmserver.service plasma-kcminit.service
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment