This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch feature/openbox-magic-pixel-workaround in repository live-build-x2go. from b477e06 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround adds 1ed75ee required changes for jessie->stretch adds 1bc05ac another jessie->stretch change adds 4468303 removed libgstreamer packages, as they don't exist in stretch adds 5fe4c03 added xserver-related files required for mouse and keyboard support with X11 on Debian Stretch adds d870e16 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch adds 0d6ba15 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch adds 6cb8ed1 added debug/log code as the secret key file copying doesn't seem to work on Debian stretch adds 58cc432 added code so secret key file copying should also work for MATE-MiniDesktop new 5fb9d1b Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch adds 6d130c0 targetusername contents were swapped adds d7dc93c fied comment to match code adds d2b51c8 added more debug code as stretch still doesn't mount/copy the secret key files, even though the blockdevs list is not empty new 1697f7f Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch adds 8f3f99d added further debug output new 4ff0c75 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch new ced461f Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new 30a2587 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new 2d4fae5 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new dc5fccf added debug option, added further vt8 log output new 297a7c1 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new e391e29 added code so xsession can log to tty8, added 1 second wait in loop to lower cpu usage new 4e29b24 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch adds 012d885 typofix adds cd682d9 2260-getsshhostkeysfrommedia now writes list of detected disk labels into its "I'm done" file; 2270-getsshclientkeysfrommedia picks up this list instead of querying anew, also, 2270-getsshclientkeysfrommedia no longer nudges automounter adds 4cc1a51 added debug output of blockdevloopcount new 88d624d Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch adds c8a8bb0 removed debug output new 84aecc6 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch new 06edb0a Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new 68a7429 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new 41bb79c altered debug output - had no write permissions; also, now logs to tty9 as well new d7c2945 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch adds f7c6279 (hopefully) fixed issue that parameters without an equals sign became appended to the preceding parameter's value (not fixed in 2900* yet, as those differ across branches) new f8a705e Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch new c0ccfd3 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new f1b5ac4 (hopefully) fixed issue that parameters without an equals sign became appended to the preceding parameter's value new f62bf0c Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch adds bceafa5 (hopefully) fixed issue that parameters without an equals sign became appended to the preceding parameter's value adds b4fe579 typofix new 3d2eb1f Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch new 9a32721 added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) new eec53ee Revert "added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black)" new 071cf8e Revert "typofix" new 19fc818 typofix new 3c9716a Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new 91ad0fe Revert "typofix" new dd1bf68 typofix new d473c1c added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) new 199a4e0 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new a9df799 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) new 3a0c073 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new 6d74aeb improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - second attempt new eb006e9 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new 5fec8e9 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - third attempt plus typofix new 669bd8a Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new ae8013d improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fourth attempt - using a minres with same hsync/vsync polarity new e8abcb2 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new 573ad08 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fifth attempt new 591879f Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new de56082 went back to xset dpms force for blankdpmsfix, but now split in two - force suspend at beginning of .xsession, force on at end. Also, rearranged code block for screen saver/dpms on/off, so it doesn't interfere with our hack. new fa3b7aa Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch new 56684be cleanup after accidental stretch merge(s) into jessie adds 9c75c88 added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) adds 050ccf2 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) adds 5258aff improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - second attempt adds 9fb4cf9 Revert "improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - second attempt" adds 79a9708 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - second attempt adds b68cac2 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - third attempt plus typofix adds fdbc68f improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fourth attempt - using a minres with same hsync/vsync polarity adds 728c200 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fifth attempt adds 9e25b7d went back to xset dpms force for blankdpmsfix, but now split in two - force suspend at beginning of .xsession, force on at end. Also, rearranged code block for screen saver/dpms on/off, so it doesn't interfere with our hack. adds fa886d5 added support for ntp= boot parameter, to allow the use of non-debian ntp servers new b56fe41 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround new d88ace1 fix broken manual merge adds aa38ff0 passing multiple ntp server names/IPs wasn't workung; should work now new 6824b1e Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround adds 77de310 fixed missing escape new c954829 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround The 47 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: .../includes.chroot/lib/live/config/2000-settime | 20 +++- .../lib/live/config/2100-show-sysconf | 2 +- .../lib/live/config/2250-getsshpubkeysfromserver | 2 +- .../lib/live/config/2260-getsshhostkeysfrommedia | 11 ++- .../lib/live/config/2270-getsshclientkeysfrommedia | 38 +++++--- .../lib/live/config/2300-xserver-xorg-getxorgconf | 2 +- .../lib/live/config/2400-live-autoupdate | 12 +-- .../includes.chroot/lib/live/config/2600-tcpprint | 2 +- .../lib/live/config/2700-x2go-getsessions | 2 +- .../lib/live/config/2710-x2go-getbranding | 2 +- .../lib/live/config/2720-x2go-getbg | 2 +- .../lib/live/config/2900-x2go-thinclientconfig | 103 +++++++++++++-------- config/package-lists/desktop.list.chroot | 3 + config/package-lists/x2go.list.chroot | 2 - 14 files changed, 130 insertions(+), 73 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 30a2587e6c78aae29970a8649c0baa7f89751960 Merge: ced461f d2b51c8 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 20:23:59 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround .../lib/live/config/2270-getsshclientkeysfrommedia | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 5fb9d1bcb3e119a5ca19aca11fae9680a4865c91 Merge: 0d6ba15 58cc432 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 19:12:04 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2270-getsshclientkeysfrommedia | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 ced461fdadbe12b2c57a804a694698a360839837 Merge: b477e06 58cc432 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 19:11:45 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround .../lib/live/config/2270-getsshclientkeysfrommedia | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 84aecc62b4718db8b177e9050a926a332a8836cd Merge: 88d624d c8a8bb0 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 12:08:36 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia | 3 --- 1 file changed, 3 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 2d4fae5b262c08b6046872a8270ae7f39dd281da Merge: 30a2587 8f3f99d Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 21:33:06 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia | 2 ++ 1 file changed, 2 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 d7c294502bb30e1cd819fe17bb2021c8c28459e7 Merge: 84aecc6 41bb79c Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 13:18:32 2017 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 88d624dfaf6fceddad26b3158f8190b7c19f729e Merge: 4e29b24 4cc1a51 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 11:07:14 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2260-getsshhostkeysfrommedia | 11 +++++++---- .../lib/live/config/2270-getsshclientkeysfrommedia | 18 ++++++------------ 2 files changed, 13 insertions(+), 16 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 1697f7fa20013301a2b588f106c15843e949638a Merge: 5fb9d1b d2b51c8 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 20:24:08 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2270-getsshclientkeysfrommedia | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 dc5fccf56ef8cda6e6ac80be0a29270060bef469 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 23:07:27 2017 +0100 added debug option, added further vt8 log output --- .../lib/live/config/2900-x2go-thinclientconfig | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index f2865f3..5bbe0a9 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -84,6 +84,7 @@ done # Spawn openbox openbox & +echo -n "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" @@ -136,6 +137,9 @@ if grep -q ' bg=' /proc/cmdline; then fi # Spawn X2GoClient +if grep -q ' tcedebug' /proc/cmdline; then + DEBUGPARAMS='--debug 2>&1 >/var/log/x2goclient' +fi if [ -n "\$SESSIONSELECT" ]; then STARTSESSION="--session='\$SESSIONSELECT'" fi @@ -227,22 +231,27 @@ if grep 'nomagicpixel=2' /proc/cmdline ; then while [ \$(xdotool search --name . | wc -l) -lt 3 ] ; do sleep 1 done ; + echo -n "\n\$(date +'%F | %T | ')'\$0' spawning window foreground monitor (magic-pixel-fix 2)." xdotool search . behave %@ blur windowmap done & elif grep 'nomagicpixel=1' /proc/cmdline ; then + echo -n "\n\$(date +'%F | %T | ')'\$0' spawning openbox monitor (magic-pixel-fix 1)." while true ; do while [ \$(xdotool search --name . | wc -l) -ne 3 ] && ! ps -C openbox >/dev/null ; do openbox & + echo -n "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." done while [ \$(xdotool search --name . | wc -l) -eq 3 ] && ps -C openbox >/dev/null ; do killall openbox + echo -n "\n\$(date +'%F | %T | ')'\$0' killed OpenBox." done + echo -n "\n\$(date +'%F | %T | ')'\$0' reloading openbox monitor (magic-pixel-fix 1)." done & else : # NOP fi -eval \$THROTTLINGCOMMAND 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 \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION \$DEBUGPARAMS XSESSION chown user:user /home/user/.xsession -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 4ff0c75a5fdc259d863587d2515005fc87eb729f Merge: 1697f7f 8f3f99d Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 21:33:23 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia | 2 ++ 1 file changed, 2 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 297a7c1e1c9c5abe28ce944561860ae43a28941d Merge: 4ff0c75 dc5fccf Author: Stefan Baur <kontakt@baur-itcs.de> Date: Wed Dec 6 23:08:09 2017 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 e391e2958e50e123944f63785b1a8c3d0df04fef Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 00:34:46 2017 +0100 added code so xsession can log to tty8, added 1 second wait in loop to lower cpu usage --- .../lib/live/config/2900-x2go-thinclientconfig | 39 ++++++++++++---------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 5bbe0a9..0279dad 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -19,6 +19,9 @@ 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 + cat >/home/user/.xsession <<XSESSION # inspired by # http://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=displaymanag... @@ -84,7 +87,7 @@ done # Spawn openbox openbox & -echo -n "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." +echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" @@ -228,25 +231,25 @@ fi # workaround for NX "magic pixel" being active in --thinclient mode if grep 'nomagicpixel=2' /proc/cmdline ; then while ! ps -C xdotool >/dev/null ; do - while [ \$(xdotool search --name . | wc -l) -lt 3 ] ; do - sleep 1 - done ; - echo -n "\n\$(date +'%F | %T | ')'\$0' spawning window foreground monitor (magic-pixel-fix 2)." - xdotool search . behave %@ blur windowmap + while [ \$(xdotool search --name . | wc -l) -lt 3 ] ; do + sleep 1 + done ; + echo -en "\n\$(date +'%F | %T | ')'\$0' spawning window foreground monitor (magic-pixel-fix 2)." | tee -a /dev/tty8 + xdotool search . behave %@ blur windowmap done & elif grep 'nomagicpixel=1' /proc/cmdline ; then - echo -n "\n\$(date +'%F | %T | ')'\$0' spawning openbox monitor (magic-pixel-fix 1)." - while true ; do - while [ \$(xdotool search --name . | wc -l) -ne 3 ] && ! ps -C openbox >/dev/null ; do - openbox & - echo -n "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." - done - while [ \$(xdotool search --name . | wc -l) -eq 3 ] && ps -C openbox >/dev/null ; do - killall openbox - echo -n "\n\$(date +'%F | %T | ')'\$0' killed OpenBox." - done - echo -n "\n\$(date +'%F | %T | ')'\$0' reloading openbox monitor (magic-pixel-fix 1)." - done & + echo -en "\n\$(date +'%F | %T | ')'\$0' spawning openbox monitor (magic-pixel-fix 1)." | tee -a /dev/tty8 + while true ; do + while [ \$(xdotool search --name . | wc -l) -ne 3 ] && ! ps -C openbox >/dev/null ; do + openbox & + echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 + done + while [ \$(xdotool search --name . | wc -l) -eq 3 ] && ps -C openbox >/dev/null ; do + killall openbox + echo -en "\n\$(date +'%F | %T | ')'\$0' killed OpenBox." | tee -a /dev/tty8 + done + sleep 1 # to save cpu cycles + done & else : # NOP fi -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 06edb0ae90acc2cadb871536687e89ea897f6202 Merge: e391e29 4cc1a51 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 11:07:03 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround .../lib/live/config/2260-getsshhostkeysfrommedia | 11 +++++++---- .../lib/live/config/2270-getsshclientkeysfrommedia | 18 ++++++------------ 2 files changed, 13 insertions(+), 16 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 4e29b2495c59799974562aa4b3ba5eb2efa26a23 Merge: 297a7c1 e391e29 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 00:35:38 2017 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 39 ++++++++++++---------- 1 file changed, 21 insertions(+), 18 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 68a74297065bb8d1aaf6cbd2203b3218c38c6e96 Merge: 06edb0a c8a8bb0 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 12:08:21 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2270-getsshclientkeysfrommedia | 3 --- 1 file changed, 3 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 41bb79c37f08e512ac4c2d784709be82351de71f Author: Stefan Baur <kontakt@baur-itcs.de> Date: Thu Dec 7 13:17:53 2017 +0100 altered debug output - had no write permissions; also, now logs to tty9 as well --- .../lib/live/config/2900-x2go-thinclientconfig | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 0279dad..61e3d60 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -22,6 +22,13 @@ 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 + cat >/home/user/.xsession <<XSESSION # inspired by # http://code.x2go.org/gitweb?p=x2gothinclient.git;a=blob_plain;f=displaymanag... @@ -140,9 +147,6 @@ if grep -q ' bg=' /proc/cmdline; then fi # Spawn X2GoClient -if grep -q ' tcedebug' /proc/cmdline; then - DEBUGPARAMS='--debug 2>&1 >/var/log/x2goclient' -fi if [ -n "\$SESSIONSELECT" ]; then STARTSESSION="--session='\$SESSIONSELECT'" fi @@ -254,7 +258,7 @@ else : # NOP fi -eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION \$DEBUGPARAMS +eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION $DEBUGPARAMS # yes, no escape sign in front of DEBUGPARAMS, that is intentional XSESSION chown user:user /home/user/.xsession -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 c0ccfd354df3659eae443713edfd00577dbce35d Merge: 41bb79c f7c6279 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Mon Dec 11 15:16:28 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2100-show-sysconf | 2 +- .../lib/live/config/2250-getsshpubkeysfromserver | 2 +- .../lib/live/config/2300-xserver-xorg-getxorgconf | 2 +- config/includes.chroot/lib/live/config/2400-live-autoupdate | 12 ++++++------ config/includes.chroot/lib/live/config/2600-tcpprint | 2 +- config/includes.chroot/lib/live/config/2700-x2go-getsessions | 2 +- config/includes.chroot/lib/live/config/2710-x2go-getbranding | 2 +- config/includes.chroot/lib/live/config/2720-x2go-getbg | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 eec53eea562460d9113d8ff410c3da694ba8d1aa Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:47:28 2018 +0100 Revert "added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black)" This reverts commit 9a32721fa8d56335da6028ec471a48afdedbda73. --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 1d36400..916ce16 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -96,11 +96,6 @@ done openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 -if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - xset dpms force standby - xset dpms force on -fi - # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" @@ -187,7 +182,7 @@ if [ -n "\$BLANKINGTIME" ]; then # Disable screensaver and DPMS Power Saving if requested xset s off if grep -q '\W*nodpms\W*' /proc/cmdline; then - xset dpms 0 0 0 # lasts over force commands, unlike -dpms + xset -dpms fi else xset s on -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 3c9716a29abb18361037a0a79c07fcfe12933143 Merge: f1b5ac4 b4fe579 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Sat Jan 13 12:06:56 2018 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 9a32721fa8d56335da6028ec471a48afdedbda73 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:44:12 2018 +0100 added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 916ce16..1d36400 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -96,6 +96,11 @@ done openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 +if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then + xset dpms force standby + xset dpms force on +fi + # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" @@ -182,7 +187,7 @@ if [ -n "\$BLANKINGTIME" ]; then # Disable screensaver and DPMS Power Saving if requested xset s off if grep -q '\W*nodpms\W*' /proc/cmdline; then - xset -dpms + xset dpms 0 0 0 # lasts over force commands, unlike -dpms fi else xset s on -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 3d2eb1f9d0301884755ea149474fd3eba94f2f46 Merge: f62bf0c b4fe579 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Sat Jan 13 12:08:46 2018 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 f1b5ac470bd4fac2971f9997783ea6faaa1ed38b Author: Stefan Baur <kontakt@baur-itcs.de> Date: Mon Dec 11 15:28:16 2017 +0100 (hopefully) fixed issue that parameters without an equals sign became appended to the preceding parameter's value --- .../lib/live/config/2900-x2go-thinclientconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 61e3d60..0a549a7 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -38,7 +38,7 @@ cat >/home/user/.xsession <<XSESSION pulseaudio -D -n -L 'module-native-protocol-tcp port=4713' -L 'module-udev-detect' --exit-idle-time=65535 & # additional variable instead of "case \$(...) in", as we need the value again later on -XRANDRCMDTAINTED=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | awk -F '=' '\$1 == "xinerama" { print \$2 }') +XRANDRCMDTAINTED=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "xinerama" { print \$2 }') # sanitize input case \$XRANDRCMDTAINTED in @@ -100,21 +100,21 @@ echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 xsetroot -solid "#246ed8" # Get X2GoConfig -BROKERURL=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | \ +BROKERURL=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | \ awk -F'=' ' /^broker-url=/ { print \$2 }' | \ tr -dc 'a-zA-Z0-9.:/?%_\-@') -SESSIONSELECT=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | \ +SESSIONSELECT=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | \ awk -F'=' ' /^session=/ { print \$2 }' | \ tr -dc 'a-zA-Z0-9.:/ _\-@') -LDAP=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | \ +LDAP=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | \ sed 's/^ldap=/ldap#/' | \ awk -F'#' ' /^ldap#/ { print \$2 }' | \ tr -dc 'a-zA-Z0-9.:_\-@') -LDAP1=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | \ +LDAP1=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | \ sed 's/^ldap1=/ldap1#/' | \ awk -F'#' ' /^ldap1#/ { print \$2 }' | \ tr -dc 'a-zA-Z0-9.:_\-@') -LDAP2=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | \ +LDAP2=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | \ sed 's/^ldap2=/ldap2#/' | \ awk -F'#' ' /^ldap2#/ { print \$2 }' | \ tr -dc 'a-zA-Z0-9.:_\-@') @@ -175,7 +175,7 @@ else LDAPPARAMS="" fi -BLANKINGTIME=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | awk -F '=' '\$1 == "blank" { print \$2 }' | tr -dc '0-9:') +BLANKINGTIME=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "blank" { print \$2 }' | tr -dc '0-9:') if [ -n "\$BLANKINGTIME" ]; then DPMSARR=(\$(echo \$BLANKINGTIME | awk -F ':' '\$1 ~/^[0-9]*\$/ && \$2 ~/^[0-9]*\$/ && \$3 ~/^[0-9]*\$/ { print \$1 " " \$2 " " \$3}')) if [ \${DPMSARR[0]} -eq 0 ]; then @@ -195,7 +195,7 @@ if [ -n "\$BLANKINGTIME" ]; then fi THROTTLINGCOMMAND="" -THROTTLEVALUES=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' /proc/cmdline | awk -F '=' '\$1 == "throttle" { print \$2 }' | tr -dc '0-9.:u') +THROTTLEVALUES=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "throttle" { print \$2 }' | tr -dc '0-9.:u') if [ -n "\$THROTTLEVALUES" ]; then # determine maximum line speed # look for all interfaces in state "up", then read their speed value from the file named speed -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 f8a705eadea1ea5773449b79b07d1102df67a38f Merge: d7c2945 f7c6279 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Mon Dec 11 15:16:35 2017 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2100-show-sysconf | 2 +- .../lib/live/config/2250-getsshpubkeysfromserver | 2 +- .../lib/live/config/2300-xserver-xorg-getxorgconf | 2 +- config/includes.chroot/lib/live/config/2400-live-autoupdate | 12 ++++++------ config/includes.chroot/lib/live/config/2600-tcpprint | 2 +- config/includes.chroot/lib/live/config/2700-x2go-getsessions | 2 +- config/includes.chroot/lib/live/config/2710-x2go-getbranding | 2 +- config/includes.chroot/lib/live/config/2720-x2go-getbg | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 f62bf0cd04a64d40ab14e3b0650d879a91af2cda Merge: f8a705e f1b5ac4 Author: Stefan Baur <kontakt@baur-itcs.de> Date: Mon Dec 11 15:28:46 2017 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 91ad0fe11ccd486eeb01d638244d0a852e7ed2fc Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:51:41 2018 +0100 Revert "typofix" This reverts commit b4fe579bff4ca591042541b19a311fb52a8d90ab. --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 916ce16..0a549a7 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -181,7 +181,7 @@ if [ -n "\$BLANKINGTIME" ]; then if [ \${DPMSARR[0]} -eq 0 ]; then # Disable screensaver and DPMS Power Saving if requested xset s off - if grep -q '\W*nodpms\W*' /proc/cmdline; then + if ! grep -q '\W*nodpms\W*' /proc/cmdline; then xset -dpms fi else -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 dd1bf68c316e60b3b6aacb960e8af101e6d38d1a Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:53:11 2018 +0100 typofix --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 0a549a7..916ce16 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -181,7 +181,7 @@ if [ -n "\$BLANKINGTIME" ]; then if [ \${DPMSARR[0]} -eq 0 ]; then # Disable screensaver and DPMS Power Saving if requested xset s off - if ! grep -q '\W*nodpms\W*' /proc/cmdline; then + if grep -q '\W*nodpms\W*' /proc/cmdline; then xset -dpms fi else -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 d473c1c1c95d8e2683eaaec079dd0b6ebba6f4f6 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:53:52 2018 +0100 added code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 916ce16..996ce61 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -96,6 +96,12 @@ done openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 +# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) +if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then + xset dpms force standby + xset dpms force on +fi + # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 19fc818c1b8992930fd046f8e92253bad6935afd Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:55:20 2018 +0100 typofix --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 0a549a7..916ce16 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -181,7 +181,7 @@ if [ -n "\$BLANKINGTIME" ]; then if [ \${DPMSARR[0]} -eq 0 ]; then # Disable screensaver and DPMS Power Saving if requested xset s off - if ! grep -q '\W*nodpms\W*' /proc/cmdline; then + if grep -q '\W*nodpms\W*' /proc/cmdline; then xset -dpms fi else -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 071cf8e8d189ad61f995c0c459c652be96ce381f Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:54:57 2018 +0100 Revert "typofix" This reverts commit b4fe579bff4ca591042541b19a311fb52a8d90ab. --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 916ce16..0a549a7 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -181,7 +181,7 @@ if [ -n "\$BLANKINGTIME" ]; then if [ \${DPMSARR[0]} -eq 0 ]; then # Disable screensaver and DPMS Power Saving if requested xset s off - if grep -q '\W*nodpms\W*' /proc/cmdline; then + if ! grep -q '\W*nodpms\W*' /proc/cmdline; then xset -dpms fi else -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 199a4e00b798ee64f763002b4f0e19757ccdf9a2 Merge: 19fc818 d473c1c Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 02:56:36 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 6 ++++++ 1 file changed, 6 insertions(+) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 a9df799d00ed7283f880ecfb2c62bd9db7909e34 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 06:09:01 2018 +0100 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) --- .../lib/live/config/2900-x2go-thinclientconfig | 19 +++++++++++++++++-- 1 file changed, 17 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 996ce61..aefc735 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -97,9 +97,24 @@ openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 # code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) +# it seems that a simple +# xset dpms force standby ; xset dpms force on +# isn't enough (doesn't always help), +# so let's add some resiliency and logging + if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - xset dpms force standby - xset dpms force on + while xset q | grep -q "Monitor is On" ; do + while ! xset q | grep -q "Monitor is in Standby" ; do + echo -en "\n\$(date +'%F | %T | ')'\$0' Attempting to force TFT into 'standby'." | tee -a /dev/tty8 + xset dpms force standby + echo -en "\n\$(date +'%F | %T | ')'\$0' \$(xset q | grep "Monitor is")" | tee -a /dev/tty8 + done + done + while ! xset q | grep -q "Monitor is On" ; do + echo -en "\n\$(date +'%F | %T | ')'\$0' Attempting to force TFT to 'on'." | tee -a /dev/tty8 + xset dpms force on + echo -en "\n\$(date +'%F | %T | ')'\$0' \$(xset q | grep "Monitor is")" | tee -a /dev/tty8 + done fi # set screen background to X2Go default blue on all detected screens -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 3a0c073899765d87df08afe7c0a4767b62650291 Merge: 199a4e0 a9df799 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Mon Jan 15 06:09:36 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 6d74aeb823b2e2980f7f38463930d67d77686e6a Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 02:49:52 2018 +0100 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - second attempt --- .../lib/live/config/2900-x2go-thinclientconfig | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index aefc735..0fdaac5 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -97,24 +97,10 @@ openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 # code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) -# it seems that a simple -# xset dpms force standby ; xset dpms force on -# isn't enough (doesn't always help), -# so let's add some resiliency and logging - if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - while xset q | grep -q "Monitor is On" ; do - while ! xset q | grep -q "Monitor is in Standby" ; do - echo -en "\n\$(date +'%F | %T | ')'\$0' Attempting to force TFT into 'standby'." | tee -a /dev/tty8 - xset dpms force standby - echo -en "\n\$(date +'%F | %T | ')'\$0' \$(xset q | grep "Monitor is")" | tee -a /dev/tty8 - done - done - while ! xset q | grep -q "Monitor is On" ; do - echo -en "\n\$(date +'%F | %T | ')'\$0' Attempting to force TFT to 'on'." | tee -a /dev/tty8 - xset dpms force on - echo -en "\n\$(date +'%F | %T | ')'\$0' \$(xset q | grep "Monitor is")" | tee -a /dev/tty8 - done + CURRENTRES=\$(xrandr | awk '$0 ~/\*/ { print \$1}') # determine current resolution + xrandr -s 640x480 # set low resolution to trigger TFT wakeup + xrandr -s \$CURRENTRES # restore original resolution fi # set screen background to X2Go default blue on all detected screens -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 d88ace19f4633c41811f7c61312d0f7aa41abe8b Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 24 12:48:27 2018 +0100 fix broken manual merge --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index bb8dfd9..9711f09 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -270,7 +270,6 @@ if [ -n "\$BLANKINGTIME" ]; then fi eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION $DEBUGPARAMS # yes, no escape sign in front of DEBUGPARAMS, that is intentional -eval \$THROTTLINGCOMMAND 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 /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 56684be5e6ab17674577e3849f4816fe86d288a9 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 24 10:30:29 2018 +0100 cleanup after accidental stretch merge(s) into jessie --- config/archives/x2go.list.chroot | 2 +- config/package-lists/firmware.list.chroot | 2 +- config/package-lists/live.list.chroot | 1 + config/package-lists/ntfs.list.chroot | 2 +- config/package-lists/x2go.list.chroot | 3 ++- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/archives/x2go.list.chroot b/config/archives/x2go.list.chroot index 033eeea..51c0819 100644 --- a/config/archives/x2go.list.chroot +++ b/config/archives/x2go.list.chroot @@ -1 +1 @@ -deb http://packages.x2go.org/debian stretch main +deb http://packages.x2go.org/debian jessie main diff --git a/config/package-lists/firmware.list.chroot b/config/package-lists/firmware.list.chroot index 103bd36..603f805 100644 --- a/config/package-lists/firmware.list.chroot +++ b/config/package-lists/firmware.list.chroot @@ -1,7 +1,7 @@ firmware-linux-free firmware-linux-nonfree firmware-linux -firmware-misc-nonfree firmware-realtek +firmware-ralink firmware-atheros firmware-iwlwifi diff --git a/config/package-lists/live.list.chroot b/config/package-lists/live.list.chroot index 2e7d164..5972111 100644 --- a/config/package-lists/live.list.chroot +++ b/config/package-lists/live.list.chroot @@ -2,6 +2,7 @@ cifs-utils console-setup console-setup-linux fuse +httpfs2 initramfs-tools kbd keyboard-configuration diff --git a/config/package-lists/ntfs.list.chroot b/config/package-lists/ntfs.list.chroot index da18f0e..e3e6fd6 100644 --- a/config/package-lists/ntfs.list.chroot +++ b/config/package-lists/ntfs.list.chroot @@ -1,6 +1,6 @@ fuse libfuse2 libgcrypt20 -#libgnutls-deb0-28 +libgnutls-deb0-28 libgpg-error0 ntfs-3g diff --git a/config/package-lists/x2go.list.chroot b/config/package-lists/x2go.list.chroot index 8b91e0d..a692b23 100644 --- a/config/package-lists/x2go.list.chroot +++ b/config/package-lists/x2go.list.chroot @@ -15,7 +15,7 @@ libfreerdp-primitives1.1 libfreerdp-rail1.1 libfreerdp-utils1.1 libjpeg62-turbo -libssl1.0.2 +libssl1.0.0 libwinpr-crt0.1 libwinpr-crypto0.1 libwinpr-dsparse0.1 @@ -46,6 +46,7 @@ libxrender1 libxv1 pinentry-x2go pulseaudio +pulseaudio-module-x11 pulseaudio-utils rdesktop udev -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 b56fe41d0fb437b3257794fea86a089e43d0368d Merge: 56684be fa886d5 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 24 12:27:10 2018 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround Conflicts: config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig config/includes.chroot/lib/live/config/2000-settime | 18 +++++++++++++++++- .../lib/live/config/2900-x2go-thinclientconfig | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --cc config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 9711f09,d5adaf7..bb8dfd9 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@@ -269,7 -232,7 +269,8 @@@ if [ -n "\$BLANKINGTIME" ]; the fi fi +eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION $DEBUGPARAMS # yes, no escape sign in front of DEBUGPARAMS, that is intentional + eval \$THROTTLINGCOMMAND 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 /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 fa3b7aad7c11481902b1337c305e0dcb06b3819b Merge: 591879f de56082 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Fri Jan 19 14:34:40 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 55 ++++++++++++---------- 1 file changed, 29 insertions(+), 26 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 5fec8e9c953140763de815a5f14c8ce8a1629521 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 07:53:26 2018 +0100 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - third attempt plus typofix --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 6 ++++-- 1 file changed, 4 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 0fdaac5..1b8ab95 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -98,9 +98,11 @@ echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 # code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - CURRENTRES=\$(xrandr | awk '$0 ~/\*/ { print \$1}') # determine current resolution + CURRENTRES=\$(xrandr | awk '\$0 ~/\*/ { print \$1}') # determine current resolution xrandr -s 640x480 # set low resolution to trigger TFT wakeup - xrandr -s \$CURRENTRES # restore original resolution + while ! [ "\$(xrandr | awk '\$0 ~/\*/ { print \$1}')" = "\$CURRENTRES" ] ; do + xrandr -s \$CURRENTRES # restore original resolution + done fi # set screen background to X2Go default blue on all detected screens -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 ae8013d7e5b3a861ebc33067c86f3bdf6492207b Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 11:46:27 2018 +0100 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fourth attempt - using a minres with same hsync/vsync polarity --- config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 1b8ab95..783c879 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -99,7 +99,7 @@ echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 # code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then CURRENTRES=\$(xrandr | awk '\$0 ~/\*/ { print \$1}') # determine current resolution - xrandr -s 640x480 # set low resolution to trigger TFT wakeup + xrandr -s 800x600 # set low resolution to trigger TFT wakeup while ! [ "\$(xrandr | awk '\$0 ~/\*/ { print \$1}')" = "\$CURRENTRES" ] ; do xrandr -s \$CURRENTRES # restore original resolution done -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 669bd8a988c22a2e98014d1818c0a5305c8dd5f2 Merge: eb006e9 5fec8e9 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 07:53:51 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 e8abcb23c957d927a032c80c13fad127dd29ec66 Merge: 669bd8a ae8013d Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 11:46:44 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 573ad08533577a1bcd3740c53e7d31d6fd8741f0 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 17 06:37:01 2018 +0100 improved code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) - fifth attempt --- .../lib/live/config/2900-x2go-thinclientconfig | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 783c879..04ee984 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -37,6 +37,14 @@ cat >/home/user/.xsession <<XSESSION # Spawn PulseAudio pulseaudio -D -n -L 'module-native-protocol-tcp port=4713' -L 'module-udev-detect' --exit-idle-time=65535 & +# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) +if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then + for DISPLAYNAME in \$(xrandr | awk '\$2 == "connected" { print \$1 }') ; do + xrandr --output \$DISPLAYNAME --off + xrandr --output \$DISPLAYNAME --auto + done +fi + # additional variable instead of "case \$(...) in", as we need the value again later on XRANDRCMDTAINTED=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "xinerama" { print \$2 }') @@ -96,15 +104,6 @@ done openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 -# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) -if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - CURRENTRES=\$(xrandr | awk '\$0 ~/\*/ { print \$1}') # determine current resolution - xrandr -s 800x600 # set low resolution to trigger TFT wakeup - while ! [ "\$(xrandr | awk '\$0 ~/\*/ { print \$1}')" = "\$CURRENTRES" ] ; do - xrandr -s \$CURRENTRES # restore original resolution - done -fi - # set screen background to X2Go default blue on all detected screens xsetroot -solid "#246ed8" -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 591879fb905701e74a787850f26d3b5f5a64eeaf Merge: e8abcb2 573ad08 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 17 06:37:21 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 de56082467288d35d5d59535334d64c65de4ad57 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Fri Jan 19 14:34:13 2018 +0100 went back to xset dpms force for blankdpmsfix, but now split in two - force suspend at beginning of .xsession, force on at end. Also, rearranged code block for screen saver/dpms on/off, so it doesn't interfere with our hack. --- .../lib/live/config/2900-x2go-thinclientconfig | 55 ++++++++++++---------- 1 file changed, 29 insertions(+), 26 deletions(-) diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig index 04ee984..9711f09 100755 --- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig +++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig @@ -37,14 +37,6 @@ cat >/home/user/.xsession <<XSESSION # Spawn PulseAudio pulseaudio -D -n -L 'module-native-protocol-tcp port=4713' -L 'module-udev-detect' --exit-idle-time=65535 & -# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) -if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then - for DISPLAYNAME in \$(xrandr | awk '\$2 == "connected" { print \$1 }') ; do - xrandr --output \$DISPLAYNAME --off - xrandr --output \$DISPLAYNAME --auto - done -fi - # additional variable instead of "case \$(...) in", as we need the value again later on XRANDRCMDTAINTED=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "xinerama" { print \$2 }') @@ -100,6 +92,11 @@ for NEXT_DISPLAY in \$(LANG=C xrandr 2>/dev/null | grep ' connected ' | cut -d ' THIS_DISPLAY=\$NEXT_DISPLAY done +# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) +if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then + xset dpms force suspend +fi + # Spawn openbox openbox & echo -en "\n\$(date +'%F | %T | ')'\$0' spawned OpenBox." | tee -a /dev/tty8 @@ -183,24 +180,6 @@ else LDAPPARAMS="" fi -BLANKINGTIME=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "blank" { print \$2 }' | tr -dc '0-9:') -if [ -n "\$BLANKINGTIME" ]; then - DPMSARR=(\$(echo \$BLANKINGTIME | awk -F ':' '\$1 ~/^[0-9]*\$/ && \$2 ~/^[0-9]*\$/ && \$3 ~/^[0-9]*\$/ { print \$1 " " \$2 " " \$3}')) - if [ \${DPMSARR[0]} -eq 0 ]; then - # Disable screensaver and DPMS Power Saving if requested - xset s off - if grep -q '\W*nodpms\W*' /proc/cmdline; then - xset -dpms - fi - else - xset s on - xset s \${DPMSARR[0]} - if ! grep -q '\W*nodpms\W*' /proc/cmdline; then - # Yes, "+dpms dpms" is intentional. - xset +dpms dpms \${DPMSARR[0]} \${DPMSARR[1]} \${DPMSARR[2]} - fi - fi -fi THROTTLINGCOMMAND="" THROTTLEVALUES=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "throttle" { print \$2 }' | tr -dc '0-9.:u') @@ -266,6 +245,30 @@ else : # NOP fi +# code to fix blank screen happening with DisplayPort and some buggy TFTs (xset q reports "Monitor is on" even though it is pitch black) +if grep -q '\W*blankdpmsfix\W*' /proc/cmdline; then + xset dpms force on dpms 0 0 0 -dpms +fi + +BLANKINGTIME=\$(sed -e 's/ \([^ ]*\)=/\n\1=/g' -e 's/\([^=]["'"'"']\) /\1\n/g' -e 's/ \([^ "'"'"']\)/\n\1/g' /proc/cmdline | awk -F '=' '\$1 == "blank" { print \$2 }' | tr -dc '0-9:') +if [ -n "\$BLANKINGTIME" ]; then + DPMSARR=(\$(echo \$BLANKINGTIME | awk -F ':' '\$1 ~/^[0-9]*\$/ && \$2 ~/^[0-9]*\$/ && \$3 ~/^[0-9]*\$/ { print \$1 " " \$2 " " \$3}')) + if [ \${DPMSARR[0]} -eq 0 ]; then + # Disable screensaver and DPMS Power Saving if requested + xset s off + if grep -q '\W*nodpms\W*' /proc/cmdline; then + xset -dpms + fi + else + xset s on + xset s \${DPMSARR[0]} + if ! grep -q '\W*nodpms\W*' /proc/cmdline; then + # Yes, "+dpms dpms" is intentional. + xset +dpms dpms \${DPMSARR[0]} \${DPMSARR[1]} \${DPMSARR[2]} + fi + fi +fi + eval \$THROTTLINGCOMMAND x2goclient --thinclient --no-session-edit --no-menu --maximize --add-to-known-hosts --haltbt --read-exports-from=/home/user/export \$LDAPPARAMS \$SESSIONFROM \$BACKGROUND \$BRANDING \$STARTSESSION $DEBUGPARAMS # yes, no escape sign in front of DEBUGPARAMS, that is intentional XSESSION -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 eb006e9c6941952527acf9e0955bd6c6b040cb0f Merge: 3a0c073 6d74aeb Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Tue Jan 16 02:50:06 2018 +0100 Merge branch 'feature/openbox-magic-pixel-workaround' into feature/openbox-magic-pixel-workaround-stretch .../lib/live/config/2900-x2go-thinclientconfig | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 c9548296e9d48a369adffb5bcfc44098b542ddac Merge: 6824b1e 77de310 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 24 16:04:52 2018 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2000-settime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
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 6824b1e9ba37e6d0c8af1a9aa5b1797a1facc9cd Merge: d88ace1 aa38ff0 Author: Stefan Baur (BAUR-ITCS) <kontakt@baur-itcs.de> Date: Wed Jan 24 14:44:29 2018 +0100 Merge branch 'feature/openbox' into feature/openbox-magic-pixel-workaround config/includes.chroot/lib/live/config/2000-settime | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git