On 1/5/21 12:41 AM, Henri Verbeet wrote:
On Fri, 1 Jan 2021 at 06:01, Zhiyi Zhang zzhang@codeweavers.com wrote:
On headless systems, Wine can still run through a VNC connection even though no outputs are connected. Fallback to using the Xinerama display device handler in this case to report at least one monitor.
Mostly out of curiosity, how does that work on Windows? Also, what happens if the display is removed after the application has already been started?
I haven't tried it on real hardware. But I am guessing without a connected output, a VNC client/server won't be able to display anything on Windows. Using Remote Desktop service, Windows will report an emulated display using remote desktop client dimensions.
If the only display is removed after the application has already started, Wine will send a WM_DISPLAYCHANGE message with a fallback emulated display of size 640x480 and report the the real size once the display is reconnected.
Thanks, Zhiyi