xrdp/vnc
matt335672 cc574bfd03 Regression: Support fixed-size VNC sessions
This is a regression introduced in v0.10.x

This version introduced a state machine to handle resizes requested
by the client and the server. Most configurations support resizeable
sessions, but one that doesn't is xrdp connecting to x11vnc on (e.g.) a
Raspberry PI.

If the session size requested by a client is differnt from the x11vnc
size, an error is logged and the state machine fails to complete,
resulting in a black screen.

This PR handles the problem by queueing a resize to the supported
server size and then continuing with the state machine. It's not an
optimal solution, but involves the least change to v0.10.x code.

(cherry picked from commit 984b71449e)
2024-09-11 09:52:44 +01:00
..
Makefile.am Add missing rfb.c to the VNC module makefile 2021-09-08 09:46:29 +01:00
rfb.c Rename misnamed function get_eds_status_msg 2021-09-06 10:33:09 +01:00
rfb.h Split up vnc.c into modules and re-implement clipboard functions 2021-06-08 14:11:17 +01:00
vnc_clip.c Remove s_check() macro 2022-02-09 10:18:15 +00:00
vnc_clip.h Split up vnc.c into modules and re-implement clipboard functions 2021-06-08 14:11:17 +01:00
vnc.c Regression: Support fixed-size VNC sessions 2024-09-11 09:52:44 +01:00
vnc.h Update VNC module resize functionality 2024-02-21 00:14:26 +09:00