This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goserver. from 6542d44 Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). new e4eca8d Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 2 ++ x2goserver/bin/x2goruncommand | 1 + 2 files changed, 3 insertions(+) -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goserver. commit e4eca8dfa6a9c897f451c11c794a732c2b008fde Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Wed Aug 20 11:11:09 2014 +0200 Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade for applications started via pkexec. (Fixes: #458). --- debian/changelog | 2 ++ x2goserver/bin/x2goruncommand | 1 + 2 files changed, 3 insertions(+) diff --git a/debian/changelog b/debian/changelog index e0e0c5c..e9eb3db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -197,6 +197,8 @@ x2goserver (4.0.1.16-0x2go1) UNRELEASED; urgency=low #574). - Abort session if env var $HOME is not set or if $HOME contains non-ASCII characters. (Fixes: #397). + - Export XAUTHORITY env var in x2goruncommand to enable privilege upgrade + for applications started via pkexec. (Fixes: #458). * debian/control, x2goserver.spec: + Update versioned D: x2goagent (>= 3.5.0.25). This assures that X2Go works with poly-instantiated /tmp directories. diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand index b9b0c16..f324d26 100755 --- a/x2goserver/bin/x2goruncommand +++ b/x2goserver/bin/x2goruncommand @@ -32,6 +32,7 @@ X2GO_LIB_PATH="$(x2gopath libexec)"; "$X2GO_LIB_PATH/x2gosyslog" "$0" "info" "$(basename $0) called with options: $@" export DISPLAY +export XAUTHORITY=${XAUTHORITY:-"$HOME/.Xauthority"} export X2GO_AGENT_PID export X2GO_SESSION cmd=`echo $cmd |sed 's/X2GO_SPACE_CHAR/ /g'` -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git