[X2go-Commits] x2gothinclient.git - master (branch) updated: 7241e5d56b095bd2986ae6d3ba45b93ab95ebb5b

X2go dev team git-admin at x2go.org
Tue Jun 28 23:04:48 CEST 2011


The branch, master has been updated
       via  7241e5d56b095bd2986ae6d3ba45b93ab95ebb5b (commit)
      from  11ceb91adb40f102f7c14651aa009cb4699c271a (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 7241e5d56b095bd2986ae6d3ba45b93ab95ebb5b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jun 28 23:05:17 2011 +0200

    Reduce x2goclient CPU load from ~100% to ~0-1%.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                    |    1 +
 x2gothinclient/sbin/x2gothinclientd |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 198e082..fd63e63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -35,6 +35,7 @@ x2gothinclient (1.0.1.3-0~x2go1) UNRELEASED; urgency=low
   * Add tmpfs mount for /var/lib/dbus.
   * More variable ($) escaping in x2gothinclient_* scripts. Fixes start-stop-daemon
     enable/disable code.
+  * Reduce x2goclient CPU load from ~100% to ~0-1%.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Sat, 28 May 2011 12:04:34 +0200
 
diff --git a/x2gothinclient/sbin/x2gothinclientd b/x2gothinclient/sbin/x2gothinclientd
index 983a1ed..62f6b2d 100755
--- a/x2gothinclient/sbin/x2gothinclientd
+++ b/x2gothinclient/sbin/x2gothinclientd
@@ -105,7 +105,7 @@ elsif ($pid == 0 )
 		# test if x2goclient is running, if not launch it...
 		if ( !check_client())
 		{
-			system("su - x2goclient -c \"export DISPLAY=:0; . /etc/x2go/x2gothinclient_start\"");
+			qx(su - x2goclient -c \"export DISPLAY=:0; . /etc/x2go/x2gothinclient_start\");
 		}
 
 		# handle availability of the thinshutdown button GUI...


hooks/post-receive
-- 
x2gothinclient.git (X2go Thin Client Environment)

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 "x2gothinclient.git" (X2go Thin Client Environment).




More information about the x2go-commits mailing list