On Sun, Apr 2, 2017 at 10:01 PM, Davis, Jean-Paul <jpdavis@sandia.gov> wrote:
Client = Windows 10, x2go client v4.1.0.0, local native display 2560x1440 (dpi 192)
Settings:
Session Type = MATE (automatically changes to “Custom desktop” with command “MATE”) Display = Fullscreen Set display DPI = 192
The session starts just fine, filling the screen with the MATE desktop, except that the display resolution is incorrect… with following information obtained inside a MATE terminal:
jpdavis: xdpyinfo | grep dots
resolution: 192x193 dots per inch
jpdavis: ps -waux | grep $DISPLAY | grep x2goagent
jpdavis 28204 0.2 0.3 217268 57696 ? S 10:05 0:08 /usr/lib64/nx/../x2go/bin/x2goagent -nolisten tcp -nolisten tcp -dpi 192 -D -auth /home/jpdavis/.Xauthority -name X2GO-jpdavis-50-1491062721_stDMATE_dp32 :50
jpdavis: xrandr --prop
xrandr: Failed to get size of gamma for output default Screen 0: minimum 320 x 240, current 1280 x 720, maximum 1920 x 1200 default connected 1280x720+0+0 0mm x 0mm
Thus the actual dpi being used by the display is 192*1280/2560 = 96, not the 192 sent to x2goagent and reported by xdpyinfo.
Your x2goagent is running using the correct (forced) 192 dpi as specified via the command line. But your x2go window is much smaller than your native desktop.
I am not really sure what to do here. Maybe we should try to calculate the window size in mm, pass that to x2goagent and let it recalculate the dpi itself.
attempting to change the resolution from inside the session...
xrandr --size 1920x1200 works but keeps same actual dpi of 96 (so desktop is larger than my screen)
I don't get that. How can the desktop become larger than the screen? The window size of your x2go session is the size of the xserver the MATE desktop sees. The dpi setting should - from my understanding - influence the selected fonts and maybe scaling, but not the overall size of the desktop.
Can you please provide some screen shots to minimize miunderstandings?
Also, can you please retry using the current developer version of nx-libs as described here: http://wiki.x2go.org/doku.php/doc:howto:nx-libs-betatesting
Uli