Bug 8620 - Configuring full screen with invalid display config starts session with geometry=1x1
Summary: Configuring full screen with invalid display config starts session with geome...
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: ---
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-30 14:23 CEST by Alexander Zeijlon
Modified: 2025-06-30 14:34 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Alexander Zeijlon cendio 2025-06-30 14:23:07 CEST
When starting a session with the native client, it's possible to end up with a display config that results in the geometry argument to Xvnc being set to 1x1.

This can happen e.g. when a user disconnects an external display from a laptop, that has been configured in the client options to show a session in full-screen.

This isn't an issue by itself, since the client can override the initial geometry when a resize occurs. But it can be an issue if the session has time to start drawing content before it has had time to resize.

We can see this effect when running the native client on Windows (10 and 11), the profile chooser and the session startup progress bar windows both start in the top-left corner of the session.
Comment 1 Alexander Zeijlon cendio 2025-06-30 14:34:10 CEST
Example output from "ps ax | grep [X]vnc" when investigating:
> "Start with fullscreen on selected screen", deselect all screens:
> =================================================================
> 471360 ?        S      0:00 /opt/thinlinc/libexec/tl-xinit /bin/bash -c exec -l "$SHELL" -c "/opt/thinlinc/etc/xsession" -- /opt/thinlinc/libexec/Xvnc :10 -depth 24 -geometry 1x1 -fp catalogue:/etc/X11/fontpath.d -auth /var/opt/thinlinc/sessions/aleze/10/Xauthority -rfbport 5910 -rfbauth /var/opt/thinlinc/sessions/aleze/10/vncpasswd -UseBlacklist=0 -QueryConnect -br -localhost -verbose 3
> 471363 ?        S      0:01 /opt/thinlinc/libexec/Xvnc :10 -depth 24 -geometry 1x1 -fp catalogue:/etc/X11/fontpath.d -auth /var/opt/thinlinc/sessions/aleze/10/Xauthority -rfbport 5910 -rfbauth /var/opt/thinlinc/sessions/aleze/10/vncpasswd -UseBlacklist=0 -QueryConnect -br -localhost -verbose 3
> 
> Same as a bove but with a display selected:
> ===========================================
> 474162 ?        S      0:00 /opt/thinlinc/libexec/tl-xinit /bin/bash -c exec -l "$SHELL" -c "/opt/thinlinc/etc/xsession" -- /opt/thinlinc/libexec/Xvnc :10 -depth 24 -geometry 1920x1200 -fp catalogue:/etc/X11/fontpath.d -auth /var/opt/thinlinc/sessions/aleze/10/Xauthority -rfbport 5910 -rfbauth /var/opt/thinlinc/sessions/aleze/10/vncpasswd -UseBlacklist=0 -QueryConnect -br -localhost -verbose 3
> 474166 ?        S      0:00 /opt/thinlinc/libexec/Xvnc :10 -depth 24 -geometry 1920x1200 -fp catalogue:/etc/X11/fontpath.d -auth /var/opt/thinlinc/sessions/aleze/10/Xauthority -rfbport 5910 -rfbauth /var/opt/thinlinc/sessions/aleze/10/vncpasswd -UseBlacklist=0 -QueryConnect -br -localhost -verbose 3

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