summaryrefslogtreecommitdiffstats
path: root/kde/patch/sddm-qt5/sddm_consolekit.diff
blob: af79f75ed06e3ff7398d63707207fc953fb73e09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/data/scripts/Xsession b/data/scripts/Xsession
index a5d270d..4b48524 100755
--- a/data/scripts/Xsession
+++ b/data/scripts/Xsession
@@ -74,7 +74,7 @@ case $session in
     exec xterm -geometry 80x24-0-0
     ;;
   *)
-    eval exec "$session"
+    eval exec ck-launch-session dbus-launch --sh-syntax --exit-with-session "$session"
     ;;
 esac
 exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."