(Adding the mailing list back to this thread...) On Tue, Jan 12, 2021 at 11:37 AM Nick Couchman <vn...@apache.org> wrote:
> On Tue, Jan 12, 2021 at 11:21 AM LuKaRo <li...@lrose.de> wrote: > >> On 1/12/21 4:43 PM, Nick Couchman wrote: >> >> 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. >> >> Thanks a lot. So this probably only worked because I used both the >> tigerVNC client and server and they probably have a custom method for >> handling this? >> > Correct - TigerVNC, RealVNC, etc., have implemented this within their own products, so if you're using their client with their server, it'll work. > > >> >> 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 >> >> That probably means that for now, the best solution appears to be to set >> the screen size manually using xrandr to a guess of what the browser's >> interior screen size might be? >> > Yes, probably so. You can use some javascript to get the dimensions of the browser window so that you don't have to guess - window.innerWidth and window.innerHeight should do the trick, assuming the browser window is sized where you expect to use it with Guacamole. -Nick