Bug 7806 - GNOME overrides Xvnc's DPI setting
Summary: GNOME overrides Xvnc's DPI setting
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-13 15:53 CET by Pierre Ossman
Modified: 2021-12-14 13:17 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2021-12-13 15:53:04 CET
Found while testing bug 7267.

There is something in GNOME that enforces a DPI of 96, even if some other application is changing the session resolution. So specifying "-dpi 48" gets the session starting at a DPI of 48, but when you starting resizing things you'll see a DPI of 96 again.

Oddly enough it doesn't stay consistently at 96. For some resolutions you get the expected 48. Not sure what's going on here.


Tested on Ubuntu 20.04. Problem appears in the "Unity" version of GNOME, and the standard version, but works fine when using Xfce.
Comment 1 Pierre Ossman cendio 2021-12-14 13:17:14 CET
To clarify, the "-dpi" argument is given to our Xvnc in /vsmagent/xserver_args in order to control the session DPI.

Note You need to log in before you can comment on or make changes to this bug.