[PATCH] Remove dbus-launch from weston.desktop

Ben iofelben at gmail.com
Thu Dec 22 08:56:29 UTC 2016


Most display managers handle starting a dbus session daemon for you, so
it does not make sense to start our own. Without this patch, if you run
weston from gdm, programs cannot connect to the dbus session daemon.
---
 compositor/weston.desktop | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compositor/weston.desktop b/compositor/weston.desktop
index 102ee178..009b6929 100644
--- a/compositor/weston.desktop
+++ b/compositor/weston.desktop
@@ -1,5 +1,5 @@
 [Desktop Entry]
 Name=Weston
 Comment=The reference Wayland server
-Exec=dbus-launch --exit-with-session weston
+Exec=weston
 Type=Application


More information about the wayland-devel mailing list