[
https://issues.apache.org/jira/browse/GUACAMOLE-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Bonet reopened GUACAMOLE-1196:
-------------------------------------
On my setup, when I'm resizing the browser window where the client is running
in, it still doesn't work.
{noformat}
Aug 21 17:21:30 ds9 guacd[2976912]: Screen has not been initialized, cannot
send resize.
Aug 21 17:21:30 ds9 guacd[2976912]: guacd[2976912]: ERROR: Screen has
not been initialized, cannot send resize.{noformat}
So the check in line 187 is still true although there is a screen width and
height.
I suppress the return in line 189, and now it works as expected:
{noformat}
Aug 21 17:30:23 ds9 guacd[2985216]: Connected to VNC server, using protocol
version 3.8
Aug 21 17:30:23 ds9 guacd[2985216]: VNC server default format:
Aug 21 17:30:23 ds9 guacd[2985216]: 32 bits per pixel.
Aug 21 17:30:23 ds9 guacd[2985216]: Least significant byte first in each
pixel.
Aug 21 17:30:23 ds9 guacd[2985216]: TRUE colour: max red 255 green 255 blue
255, shift red 16 green 8 blue 0
Aug 21 17:30:23 ds9 guacd[2985216]: Screen has not been initialized, cannot
send resize.
Aug 21 17:30:23 ds9 guacd[2985216]: guacd[2985216]: ERROR: Screen has
not been initialized, cannot send resize.
Aug 21 17:30:23 ds9 guacd[2985216]: Got new framebuffer size: 3840x1918
Aug 21 17:30:26 ds9 guacd[2985216]: Got new framebuffer size: 1827x1369
Aug 21 17:30:27 ds9 guacd[2985216]: Got new framebuffer size:
3840x1918{noformat}
> 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)