[X2Go-Commits] [live-build-x2go] 61/108: added debug code that was only present in feature/openbox-magic-pixel-workaround so far

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:13:17 CET 2019


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 b885ce5cdafef318071a524df769cd1913c1a315
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Wed Jan 2 22:51:27 2019 +0100

    added debug code that was only present in feature/openbox-magic-pixel-workaround so far
---
 .../includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index bce0cc7..bc59285 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -19,6 +19,16 @@ sed -i -e '\#<applications>#a<application title="X2Go Client" type="normal">' -e
 #make sure OpenBox' ToggleMaximize is disabled, or else clicking the top row of pixels will un-maximize X2GoClient
 sed -i -e '/ToggleMaximize/d' /etc/xdg/openbox/rc.xml
 
+# this is so that xsession can log to tty8
+adduser user tty
+
+# this is for additional debug logging
+if grep -q ' tcedebug' /proc/cmdline; then
+	touch /var/log/x2goclient
+	chmod 666 /var/log/x2goclient
+	DEBUGPARAMS='--debug 2>&1 | tee /var/log/x2goclient >/dev/tty9'
+fi
+
 # This is needed for File Sharing support (USB media and the like)
 mkdir -p /home/user/{export,logins,mounts}
 chown user:user /home/user/{export,logins,mounts}

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git


More information about the x2go-commits mailing list