The branch, release/3.1.1.x has been updated via cc11577f9ccb4a7589e8f97c916fbf45409b8e95 (commit) from ee963a1ee7311fc770ce5950440eea66ced97b13 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit cc11577f9ccb4a7589e8f97c916fbf45409b8e95 Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Fri Nov 23 15:19:23 2012 +0100 Fix x2godesktopsharing, we had added to many quotation marks in x2gostartagent. ----------------------------------------------------------------------- Summary of changes: debian/changelog | 3 ++- x2goserver/bin/x2gostartagent | 20 ++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 962a2c5..e96a35c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,8 @@ x2goserver (3.1.1.9-0~x2go1) UNRELEASED; urgency=low * New upstream release (3.1.1.9): - - Continue development... + - Fix x2godesktopsharing, we had added to many quotation marks in + x2gostartagent. -- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 23 Nov 2012 12:06:40 +0100 diff --git a/x2goserver/bin/x2gostartagent b/x2goserver/bin/x2gostartagent index c049566..d7a5f1d 100755 --- a/x2goserver/bin/x2gostartagent +++ b/x2goserver/bin/x2gostartagent @@ -32,7 +32,7 @@ export NX_ROOT=$X2GO_ROOT REMOTE=localhost -X2GO_CLIENT=`echo "$SSH_CLIENT" | awk '{print $1}'` +X2GO_CLIENT=`echo $SSH_CLIENT | awk '{print $1}'` $X2GO_LIB_PATH/x2gosyslog "$0" "debug" "client announced itself as ,,$X2GO_CLIENT''" X2GO_GEOMETRY="$1"; shift @@ -51,9 +51,9 @@ XAUTHORITY=${XAUTHORITY:-"$HOME/.Xauthority"} if [ "$X2GO_STYPE" == "S" ]; then - SHADOW_MODE=`echo "$X2GO_CMD"|awk '{split($0,a,"XSHAD"); print a[1]}'` - SHADOW_USER=`echo "$X2GO_CMD"|awk '{split($0,a,"XSHAD"); print a[2]}'` - SHADOW_DESKTOP=`echo "$X2GO_CMD"|awk '{split($0,a,"XSHAD"); print a[3]}'` + SHADOW_MODE=`echo $X2GO_CMD |awk '{split($0,a,"XSHAD"); print a[1]}'` + SHADOW_USER=`echo $X2GO_CMD |awk '{split($0,a,"XSHAD"); print a[2]}'` + SHADOW_DESKTOP=`echo $X2GO_CMD |awk '{split($0,a,"XSHAD"); print a[3]}'` test -z $1 && { @@ -77,8 +77,12 @@ if [ "$X2GO_STYPE" == "S" ]; then $X2GO_LIB_PATH/x2gosyslog "$0" "err" "ERROR: user $SHADOW_USER denied desktop sharing session" exit -1 fi - X2GO_COOKIE=`echo "$OUTPUT" | awk '{print $2}'` - X2GO_PORT=`echo "$OUTPUT" | awk '{print $1}'` + X2GO_COOKIE=`echo $OUTPUT | awk '{print $2}'` + X2GO_PORT=`echo $OUTPUT | awk '{print $1}' + echo "==================" + echo "X2GO_PORT: $X2GO_PORT" +` echo "==================" + $X2GO_LIB_PATH/x2gosyslog "$0" "debug" "received shadow session information: cookie: $X2GO_COOKIE, port: $X2GO_PORT" xauth -f "$XAUTHORITY" add "${HOSTNAME}/unix:${X2GO_PORT}" MIT-MAGIC-COOKIE-1 "${X2GO_COOKIE}" xauth -f "$XAUTHORITY" add "${HOSTNAME}:${X2GO_PORT}" MIT-MAGIC-COOKIE-1 "${X2GO_COOKIE}" @@ -95,7 +99,7 @@ if [ "$X2GO_STYPE" == "S" ]; then fi LIMIT=`x2gosessionlimit` -LWORD=`echo "$LIMIT" | awk '{print $1}'` +LWORD=`echo $LIMIT | awk '{print $1}'` if [ "$LWORD" == "LIMIT" ]; then echo $LIMIT 1>&2 @@ -104,7 +108,7 @@ fi export NX_CLIENT="$X2GO_LIB_PATH/x2gosuspend-agent" -COLORDEPTH=`echo "$X2GO_TYPE"|awk '{split($0,a,"-depth_"); print a[2]}'` +COLORDEPTH=`echo $X2GO_TYPE | awk '{split($0,a,"-depth_"); print a[2]}'` SESSION_TYPE="D" NOEXITPARAM="" hooks/post-receive -- x2goserver.git (X2Go Server) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "x2goserver.git" (X2Go Server).