[X2Go-Commits] [x2gobroker] 01/01: Don't hard-define session DPI value. This allows X2Go Client to auto-detect the client-side DPI value and use that for the X2Go session. (Fixes: #834).

git-admin at x2go.org git-admin at x2go.org
Thu Apr 2 06:18:34 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit 04a9982c4a16cdb22a7465930d95461658576993
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Apr 2 06:18:09 2015 +0200

    Don't hard-define session DPI value. This allows X2Go Client to auto-detect the client-side DPI value and use that for the X2Go session. (Fixes: #834).
---
 debian/changelog                           |    3 +++
 etc/broker/x2gobroker-sessionprofiles.conf |    3 ++-
 x2gobroker/defaults.py                     |    3 ++-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b826a6d..ced1bd8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -308,6 +308,9 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low
       delayed executions of broker agent tasks. This assures that SSH pub keys
       are removed via the delauthkey broker agent task, if the SSH broker
       is used. (Fixes: #491).
+    - Don't hard-define session DPI value. This allows X2Go Client to
+      auto-detect the client-side DPI value and use that for the X2Go session.
+      (Fixes: #834).
   * debian/control:
     + Provide separate bin:package for SSH brokerage: x2gobroker-ssh.
     + Replace LDAP support with session brokerage support in LONG_DESCRIPTION.
diff --git a/etc/broker/x2gobroker-sessionprofiles.conf b/etc/broker/x2gobroker-sessionprofiles.conf
index 6973d65..83058d7 100644
--- a/etc/broker/x2gobroker-sessionprofiles.conf
+++ b/etc/broker/x2gobroker-sessionprofiles.conf
@@ -56,7 +56,8 @@ sound=true
 rootless=true
 iconvto=UTF-8
 soundtunnel=true
-dpi=96
+# if no DPI default gets specified, X2Go Client will attempt detection of the client-side DPI settings
+#dpi=96
 sshport=22
 setdpi=0
 pack=16m-jpeg
diff --git a/x2gobroker/defaults.py b/x2gobroker/defaults.py
index 596d38c..da61cfa 100644
--- a/x2gobroker/defaults.py
+++ b/x2gobroker/defaults.py
@@ -302,7 +302,8 @@ X2GOBROKER_SESSIONPROFILE_DEFAULTS = {
         u'rootless': True,
         u'iconvto': u'UTF-8',
         u'soundtunnel': True,
-        u'dpi': 96,
+# don't define a default DPI value here, this allows X2Go Client to use its client-side detected DPI value
+#       u'dpi': 96,
         u'sshport': 22,
         u'setdpi': 0,
         u'pack': u'16m-jpeg',

--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list