[ https://issues.apache.org/jira/browse/GUACAMOLE-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875542#comment-17875542 ]
Nick Couchman commented on GUACAMOLE-1196: ------------------------------------------ [~mbo77]: What VNC server are you connecting to? I'm happy to dig into a little more, but I suspect this is the VNC server not behaving properly rather than the client code. The check in that line is so that it will not try to resize something that doesn't have a size. The fact that the VNC server either expects that the screen is uninitialized or accepts the resize even though it isn't seems odd. But, there also seems to be fuzziness within the RFB protocol as to whether the screen is expected/required/etc., so maybe there's some other check I should be doing... > Add auto resize to VNC sessions > ------------------------------- > > Key: GUACAMOLE-1196 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1196 > Project: Guacamole > Issue Type: Improvement > Components: Documentation, VNC > Reporter: Markus Bonet > Assignee: Nick Couchman > Priority: Minor > Fix For: 1.6.0 > > > As discussed on the mailing list: > {quote} > I'm running a TigerVNC session on the server where Guacamole is installed. If > I connect with the TigerVNC viewer there is this nice feature that the remote > desktop is automatically resized if the viewer window is resized, like this > if offered with RDP already. > Is there a configuration how to achieve this with a Guacamole session as well > for my VNC connection? > {quote} > Historically, this could not be done without corresponding support within > libvncclient. This should now be possible through handling the required > message type ({{SetDesktopSize}}): > {quote} > Unfortunately my team had to come up with a home baked solution for this > about 2 years ago. But it involved hacking up libvnc. > BUT, I think it is feasible to submit a feature request for it because now > libvnc recently tagged a new version that includes the message type that > guacamole needs to do this: > Tag: https://github.com/LibVNC/libvncserver/releases/tag/LibVNCServer-0.9.13 > New message: > https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setdesktopsize > {quote} > See: > [http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Auto-resize-of-VNC-sessions-td9511.html] -- This message was sent by Atlassian Jira (v8.20.10#820010)