[ https://issues.apache.org/jira/browse/GUACAMOLE-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880989#comment-17880989 ]
Corentin Soriano commented on GUACAMOLE-1196: --------------------------------------------- There is another issue that I haven't been able to fix. Guacamole server/client built from master today on AlmaLinux release 9.4 and default raspbian 12 vnc server (realvnc-vnc-server/stable,now 7.11.0.18 arm64). Without disable_display_resize, I have error on login: guacd -L debug -f: {code:java} guacd[164112]: DEBUG: Client is using protocol version "VERSION_1_5_0" guacd[164112]: DEBUG: Sending VNC display size for owner's display. guacd[164112]: ERROR: Error handling message from VNC server. guacd[164112]: INFO: Internal VNC client disconnected {code} vnc server journalctl: {code:java} Sep 11 15:51:39 rpi vncserver-x11[103918]: Connections: connected: 10.0.0.1::53198 (TCP) Sep 11 15:51:39 rpi vncserver-x11[103918]: Connections: authenticated: 10.0.0.1::53198 (TCP), as (anonymous) (d permissions) Sep 11 15:51:39 rpi vncserver-x11[103918]: Connections: disconnected: 10.0.0.1::53198 (TCP) ([ProtocolError] Protocol error: invalid message type 251) {code} With disable_display_resize, I no longer have the error but I only have this white rectangle displayed: {code:java} <div style="width: 8195px; height: 57345px; position: absolute; left: 0px; top: 0px; overflow: hidden;"><canvas width="8256" height="57408" style="z-index: -1; position: absolute; left: 0px; top: 0px;"></canvas></div>{code} Keyboard/mouse events are sent to the server. > 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)