summaryrefslogtreecommitdiff
path: root/source/kde/kdebase-workspace/xinit/xinitrc.kde
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdebase-workspace/xinit/xinitrc.kde')
-rwxr-xr-xsource/kde/kdebase-workspace/xinit/xinitrc.kde6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/kde/kdebase-workspace/xinit/xinitrc.kde b/source/kde/kdebase-workspace/xinit/xinitrc.kde
index 5e11a9ac..a33eb06c 100755
--- a/source/kde/kdebase-workspace/xinit/xinitrc.kde
+++ b/source/kde/kdebase-workspace/xinit/xinitrc.kde
@@ -25,4 +25,8 @@ if [ -f $usermodmap ]; then
fi
# Start the window manager:
-ck-launch-session startkde
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ ck-launch-session startkde
+else
+ startkde
+fi