X2Go Bug report logs - #1232
DPI / scaling on different client hosts

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Daniel Pocock <daniel@pocock.pro>

Date: Fri, 17 Nov 2017 10:45:01 UTC

Severity: normal

Found in version 4.0.5.2-2

Full log


Message #10 received at 1232@bugs.x2go.org (full text, mbox, reply):

Received: (at 1232) by bugs.x2go.org; 24 Nov 2017 19:50:39 +0000
From ulrich.sibiller@gmail.com  Fri Nov 24 20:50:38 2017
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=2.0 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT autolearn=no autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 5FFEE5DACF
	for <1232@bugs.x2go.org>; Fri, 24 Nov 2017 20:50:38 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XNNEjHsxe6hO for <1232@bugs.x2go.org>;
	Fri, 24 Nov 2017 20:50:33 +0100 (CET)
Received: from mail-ua0-x232.google.com (mail-ua0-x232.google.com [IPv6:2607:f8b0:400c:c08::232])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 3A57A5DACC
	for <1232@bugs.x2go.org>; Fri, 24 Nov 2017 20:50:33 +0100 (CET)
Received: by mail-ua0-x232.google.com with SMTP id s28so15371044uag.4
        for <1232@bugs.x2go.org>; Fri, 24 Nov 2017 11:50:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:reply-to:in-reply-to:references:from:date:message-id
         :subject:to;
        bh=CXeLZ0uW70N+RUmbSGGMxG9iLiDD3ZjpWJt4o3hvFdo=;
        b=UQRta4DilonH/uvI6yqMPpmdNH9L04ZA2fKXOBwlRfSBnj4fYFMp+zicNWOW1HrtRQ
         rZ4MI+BMvcETqaEbLcEzQZHwoe9xlBXkKEQQzf11pwKNxXrFYlcSyixojVjV1Atm4M90
         plan29EGPl39js6Dw/LnIh9vY7LBfZ92rTo4AXnnHDemSl1Rq/k5MQhGnHU+xSYfaX/d
         Nmert67hQVAkadS4xiGRMSSgfP4az4OIwPi8RjYOQMz7D5CxI5JEerglGduE/87eiY2E
         zfHzYWIprTMlOVee5FKFAEHngViw4pX70ovBMh3N0ryE4PuHm6nrw8s+Wc76oXPBZ+ZV
         sMLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
         :from:date:message-id:subject:to;
        bh=CXeLZ0uW70N+RUmbSGGMxG9iLiDD3ZjpWJt4o3hvFdo=;
        b=X+TFrFx/B1xRGSuXMeZRQ89ey6jwQSXJIRH6yBUdgNE145FDqC1tGWHX0XjJwaRbaB
         z+DwOxm4zqAWUjGjwAQ610kG107CCKZnGhO6PQGTgo03j+lNiqKqGkyvyImcMUB65L+f
         IsUsKzURmGk/qniYXnDLvWXcIhkuzxY4hafbgMSrH3WXhc16DjwCf8DnM79v1HrVfK3M
         /+ENheqxJJIuV0T5rkULfnK+ovYM2rTSB/ZzozlLfAW5/x/WfbJyXdAej04i+l7NzZhV
         X8WBv/7EW1GTbQ3x+Q29vH1pevUny4Q0rOlyk2iwIFuYckPqafLQrfW8E7MOo+skPUBO
         QQ4A==
X-Gm-Message-State: AJaThX5eAky3Lfu4VsnOyI/ajfyyt1zjj36UF9LKEK+Sy/uPzftQCWsx
	hGitMnBSamP6KKCimTJ2n50dLsTiY1a77qsgrnyKsg==
X-Google-Smtp-Source: AGs4zMZ0mfQk3yyZILkysaLbA1SoC0TVNMR5C2uTtS/bA7opNeBY6LZmq9kdkyppvnqpd8ZGPKFC1sAb/SMp6+7JbgY=
X-Received: by 10.176.11.5 with SMTP id b5mr25183070uak.118.1511553031838;
 Fri, 24 Nov 2017 11:50:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.176.72.39 with HTTP; Fri, 24 Nov 2017 11:50:11 -0800 (PST)
Reply-To: uli42@gmx.de
In-Reply-To: <c129a1f8-488b-993a-898d-7ac402afc79d@pocock.pro>
References: <c129a1f8-488b-993a-898d-7ac402afc79d@pocock.pro>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Fri, 24 Nov 2017 20:50:11 +0100
Message-ID: <CANVnVYLvdNdAQC2U=xeAmOW0f_jrtkQSi4ne9_mR_QhrCuqgZw@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1232: DPI / scaling on different client hosts
To: Daniel Pocock <daniel@pocock.pro>, 1232@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
On Fri, Nov 17, 2017 at 11:36 AM, Daniel Pocock <daniel@pocock.pro> wrote:
> Package: x2goclient
> Version: 4.0.5.2-2
>
> I've been using the x2goclient on different machines:
>
> - a laptop with 14" FHD display (157 DPI)
>
> - a desktop with 32" UHD / 4k resolution (137 DPI)
>
> On the desktop, I find the fonts are a bit small, it would be nicer if
> the window would zoom to be at least 133% of the original size, maybe more.
>
> I looked at the session preferences and found the option "Set Display
> DPI" option, it is currently set to 96.  I tried changing it to 137 and
> reconnected to the existing session and it looked the same.  What effect
> should this setting have and would it help in my situation?

Changing DPI does not have an effect for existing windows. It even
does not have an effect on all new windows (e.g. konsole will respect
the current setting, xterm won't). You can test that yourself (leaving
out x2go completely) by running xrandr --dpi <num> on your local
desktop (check the current setting with xdpyinfo | grep dot).

A dpi setting that fits for one client might be wrong for another one.
If you start a session on one of your machines and reconnect with the
other, I am not aware of a good way to make it appear "correct" on
both.

Specifying the dpi in x2go sets a fixed dpi for _new_ sessions which
cannot be changed afterwards, so you are out of options here.


Uli


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 20:45:05 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.