Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-1926

Consecutive window resizes cause a disconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.5.4
    • None
    • guacamole
    • None

    Description

      I think there is a code regression in 1.5.4 although I haven't had a chance to read the code well.

      The problem occurs in 1.5.4 but not in 1.5.2 which I was using before migrating.

      The problem occurs during an RDP session, with "display-update" set to true, if I subsequently resize the window 4/5 times it ends in connection close.

       

      I don't use stock guacamole for the client part (javascript) but I use the guacamole-common-js libraries to make small customizations.
      As regards the js client part, the code is quite simple and is as follows:

      const resize_ob = new ResizeObserver((element) => {
          clearTimeout(resize);
          resize = setTimeout(() => {
              ....
              guacamoleClient.sendSize(width, height);
          }, 500);
      });

      _______

      Instead what I have out of the guacd logs is this:

      guacd[152]: DEBUG:    Server resized display to 1794x993
      guacd[152]: DEBUG:    Server resized display to 1794x867
      guacd[152]: DEBUG:    Server resized display to 1794x1006
      guacd[29]: INFO:    Connection "$67a2367d-4c6d-4bf5-a6dd-911dedccc85e" removed.
      guacd[29]: DEBUG:    Unable to request termination of client process: No such process 
      guacd[29]: DEBUG:    All child processes for connection "$67a2367d-4c6d-4bf5-a6dd-911dedccc85e" have been terminated. 

      Via browser instead:

      Attachments

        1. image-2024-02-26-16-37-43-662.png
          45 kB
          Stefano Spadola

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevezero1 Stefano Spadola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: