Commit 605bd1a9 authored by Fabian Vogt's avatar Fabian Vogt Committed by Bhushan Shah
Browse files

Use dbus-run-session instead of dbus-launch --exit-with-session

Summary:
dbus-launch --exit-with-session behaves badly if there's no X server running.
This resulted in it breaking when being launched from gdm or lightdm.

Also, the manpage explicitly states "This option is not recommended".

Test Plan:
Using it right now, started with sddm.
Also verified that nothing remains after logout.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D11478

[cherry-picked from 19bee410 which got
lost due to scripty conflicts]
parent 7613c115
[Desktop Entry]
Exec=dbus-launch --exit-with-session ${CMAKE_INSTALL_FULL_BINDIR}/startplasmacompositor
Encoding=UTF-8
Exec=dbus-run-session ${CMAKE_INSTALL_FULL_BINDIR}/startplasmacompositor
TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasmacompositor
DesktopNames=KDE
Name=Plasma
......
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