[X2Go-Commits] [x2goserver] 01/01: KDE startup: Rewrite command from old X2Go Client versions (they send 'startkde' as command, neither 'startplasma-x11' nor the more generic 'KDE').
git-admin at x2go.org
git-admin at x2go.org
Wed Aug 23 12:06:21 CEST 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2goserver.
commit 28e7669e64ad2ffc629222a017757dd7022f4066
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Aug 23 12:06:14 2023 +0200
KDE startup: Rewrite command from old X2Go Client versions (they send 'startkde' as command, neither 'startplasma-x11' nor the more generic 'KDE').
---
debian/changelog | 6 +++++-
x2goserver/bin/x2goruncommand | 3 +++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 938915d1..1e7f9255 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,10 @@
x2goserver (4.1.0.7-0x2go1) UNRELEASED; urgency=medium
- * Continue development
+ [ Mike Gabriel ]
+ * New upstream version (4.1.0.7):
+ - KDE startup: Rewrite command from old X2Go Client versions (they send
+ 'startkde' as command, neither 'startplasma-x11' nor the more generic
+ 'KDE').
-- X2Go Release Manager <git-admin at x2go.org> Fri, 18 Aug 2023 06:16:06 +0200
diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index b53a713b..080cee21 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -255,6 +255,9 @@ elif [ "$cmd" == "KDE" ]; then
else
cmd="/usr/bin/startkde"
fi
+# provide this command rewrite for old X2Go Client versions (that send 'startkde' as command)
+elif [ "$cmd" == "startkde" ] && [ -e "/usr/bin/startplasma-x11" ]; then
+ cmd="/usr/bin/startplasma-x11"
elif [ "$cmd" == "XFCE4" ] || [ "$cmd" == "XFCE" ]; then
cmd="/usr/bin/xfce4-session"
elif [ "$cmd" == "LXDE" ]; then
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list