On Tue, Jan 12, 2021 at 9:03 AM LuKaRo <li...@lrose.de> wrote: > Hi everyone, > > one of my users has a Linux dual-monitor setup and only wants to stream > a single monitor via Guacamole. I was about to recommend him to use > "vncserver" instead of "x0vncserver" on his machine as the former will > automatically adapt to the browser window size instead of streaming the > fixed resolution of his physical monitors. > > But then I first tried myself and I noticed it does not automatically > adapt to the browser window. However, when I use vncviewer from the > tigervnc-package, it does. In the FAQ > (http://guacamole.apache.org/faq/#resize-vnc) it says, VNC does not > support setting the screen size from the client, but in the observed > behaviour of vncviewer, it does. How is that possible? > > Correct, the VNC protocol, natively, does not support screen resizing. However, VNC is a reasonably extensible protocol, and several vendors have figured out ways to make this work with overlays to VNC.
> And is it possible to have VNC somehow automatically adapt to the > browser window size? Or is the only option to set a resolution manually > on the server that comes as close as possible to the actual resolution > of the browser window? > > It is possible, and there is a JIRA issue opened for it: https://issues.apache.org/jira/browse/GUACAMOLE-1196 So, it's just a matter of figuring out how to speak to various VNC servers to trigger the resize, and implementing the checks and instructions required for it. -Nick