[X2Go-Commits] [live-build-x2go] 127/160: 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 01:55:51 CET 2017


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

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

commit 134cc44b827378d10fa624c5c94c1bbc327d769f
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