[X2Go-Commits] [live-build-x2go] 127/167: added support for blanks in session names (no quotes required in parameter)

git-admin at x2go.org git-admin at x2go.org
Sat Nov 18 00:32:56 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/openbox-magic-pixel-workaround
in repository live-build-x2go.

commit c9ec6a97caa1971940e0075b3c4c05831d9a0b01
Author: Stefan Baur <kontakt at baur-itcs.de>
Date:   Wed Oct 25 22:15:06 2017 +0200

    added support for blanks in session names (no quotes required in parameter)
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 821b103..e588422 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -135,7 +135,7 @@ fi
 
 # Spawn X2GoClient
 if [ -n "\$SESSIONSELECT" ]; then
-	STARTSESSION="--session=\$SESSIONSELECT"
+	STARTSESSION="--session='\$SESSIONSELECT'"
 fi
 if [ -n "\$BROKERURL" ]; then
 	SESSIONFROM="--broker-url=\$BROKERURL"
@@ -180,7 +180,7 @@ if [ -n "\$BLANKINGTIME" ]; then
 	fi
 fi
 
-x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION
+eval x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION
 XSESSION
 
 chown user:user /home/user/.xsession

--
Alioth's /srv/git/code.x2go.org/live-build-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list