[ https://issues.apache.org/jira/browse/GUACAMOLE-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper updated GUACAMOLE-1642: ----------------------------------- Description: Guacamole's VNC support defaults to excluding the "Tight" (lossy JPEG) encoding, but the Tight encoding cannot be manually specified from the UI. This makes it difficult to connect to VNC servers like PiKVM that only support Tight and H.264 encodings. h3. guacd log {code:none} guacd[8]: INFO: Creating new client for protocol "vnc" guacd[8]: INFO: Connection ID is "$82d33ae2-e13d-4f23-b7b9-1acd4c8308c4" guacd[2826]: DEBUG: Processing instruction: size ... guacd[2826]: DEBUG: Parameter "encodings" omitted. Using default value of "zrle ultra copyrect hextile zlib corre rre raw". ... {code} h3. VNC server log {code:none} [root@pikvm kvmd]# kvmd-vnc --run kvmd.keyboard.keysym INFO --- Reading keyboard layout /usr/share/kvmd/keymaps/en-us ... kvmd.apps.vnc.server INFO --- Listening VNC on TCP [::]:5900 ... kvmd.apps.vnc.server INFO --- [entry] [::ffff:192.168.1.107]:54480: Connected client kvmd.apps.vnc.rfb INFO --- [entry] [::ffff:192.168.1.107]:54480: Starting client tasks ... kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: Using RFB version 3.8 kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: Using VNCAuth security type kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: VNCAuth access granted for user 'admin' kvmd.apps.vnc.server INFO --- [kvmd] [::ffff:192.168.1.107]:54480: Waiting for the SetEncodings message ... kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: Client features (SetEncodings): ... kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... encodings=frozenset({0, 1, 2, -253, 4, 5, 6, -131072, -131071, 9, -65527, -131070, -131069, 16, -240, -239, -232, -223, -309}) kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_resize=True kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_rename=False kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_leds_state=False kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_ext_keys=False kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_tight=False kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... tight_jpeg_quality=0 kvmd.apps.vnc.rfb INFO --- [main] [::ffff:192.168.1.107]:54480: ... has_h264=False kvmd.apps.vnc.rfb ERROR --- [main] [::ffff:192.168.1.107]:54480: Error: Tight JPEG encoding is not supported by client: RfbClientEncodings(encodings=frozenset({0, 1, 2, -253, 4, 5, 6, -131072, -131071, 9, -65527, -131070, -131069, 16, -240, -239, -232, -223, -309}), has_resize=True, has_rename=False, has_leds_state=False, has_ext_keys=False, has_tight=False, tight_jpeg_quality=0, has_h264=False) kvmd.apps.vnc.rfb INFO --- [streamer] [::ffff:192.168.1.107]:54480: Cancelling subtask ... kvmd.apps.vnc.rfb INFO --- [fb_sender] [::ffff:192.168.1.107]:54480: Cancelling subtask ... kvmd.apps.vnc.rfb INFO --- [kvmd] [::ffff:192.168.1.107]:54480: Cancelling subtask ... kvmd.apps.vnc.rfb INFO --- [entry] [::ffff:192.168.1.107]:54480: Connection closed ^Ckvmd.apps.vnc.server INFO --- Bye-bye {code} was: Tight VNC encoding cannot be specified from the UI. In order to specify it, the entire vnc connection must be specified in LDAP, Properties, or XML. !https://media.discordapp.net/attachments/880066200959328328/999297478794952704/unknown.png! This makes it difficult to connect to PiKVM Which only supports tight and h264 encodings. GuacD log: [https://hackedyour.info/cCMWcPa8mf7N3oE7 |https://hackedyour.info/cCMWcPa8mf7N3oE7] Server log: [https://hackedyour.info/8OstaIqQT1HnbEQh] note the use of _zrle ultra copyrect hextile zlib corre rre raw_ by default. But there is no way to connect to tight, nor is there helpful information to guide the discovery of the problem. > Add support for specifying VNC "encodings" parameter in webapp UI > ----------------------------------------------------------------- > > Key: GUACAMOLE-1642 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-1642 > Project: Guacamole > Issue Type: Improvement > Components: guacamole, guacamole-ext > Reporter: Adam N Outler > Assignee: Nick Couchman > Priority: Minor > Fix For: 1.6.0 > > > Guacamole's VNC support defaults to excluding the "Tight" (lossy JPEG) > encoding, but the Tight encoding cannot be manually specified from the UI. > This makes it difficult to connect to VNC servers like PiKVM that only > support Tight and H.264 encodings. > h3. guacd log > {code:none} > guacd[8]: INFO: Creating new client for protocol "vnc" > guacd[8]: INFO: Connection ID is "$82d33ae2-e13d-4f23-b7b9-1acd4c8308c4" > guacd[2826]: DEBUG: Processing instruction: size > ... > guacd[2826]: DEBUG: Parameter "encodings" omitted. Using default value of > "zrle ultra copyrect hextile zlib corre rre raw". > ... > {code} > h3. VNC server log > {code:none} > [root@pikvm kvmd]# kvmd-vnc --run > kvmd.keyboard.keysym INFO --- Reading keyboard layout > /usr/share/kvmd/keymaps/en-us ... > kvmd.apps.vnc.server INFO --- Listening VNC on TCP [::]:5900 ... > kvmd.apps.vnc.server INFO --- [entry] > [::ffff:192.168.1.107]:54480: Connected client > kvmd.apps.vnc.rfb INFO --- [entry] > [::ffff:192.168.1.107]:54480: Starting client tasks ... > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: Using RFB version 3.8 > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: Using VNCAuth security type > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: VNCAuth access granted for user 'admin' > kvmd.apps.vnc.server INFO --- [kvmd] > [::ffff:192.168.1.107]:54480: Waiting for the SetEncodings message ... > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: Client features (SetEncodings): ... > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... encodings=frozenset({0, 1, 2, -253, 4, 5, > 6, -131072, -131071, 9, -65527, -131070, -131069, 16, -240, -239, -232, -223, > -309}) > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_resize=True > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_rename=False > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_leds_state=False > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_ext_keys=False > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_tight=False > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... tight_jpeg_quality=0 > kvmd.apps.vnc.rfb INFO --- [main] > [::ffff:192.168.1.107]:54480: ... has_h264=False > kvmd.apps.vnc.rfb ERROR --- [main] > [::ffff:192.168.1.107]:54480: Error: Tight JPEG encoding is not supported by > client: RfbClientEncodings(encodings=frozenset({0, 1, 2, -253, 4, 5, 6, > -131072, -131071, 9, -65527, -131070, -131069, 16, -240, -239, -232, -223, > -309}), has_resize=True, has_rename=False, has_leds_state=False, > has_ext_keys=False, has_tight=False, tight_jpeg_quality=0, has_h264=False) > kvmd.apps.vnc.rfb INFO --- [streamer] > [::ffff:192.168.1.107]:54480: Cancelling subtask ... > kvmd.apps.vnc.rfb INFO --- [fb_sender] > [::ffff:192.168.1.107]:54480: Cancelling subtask ... > kvmd.apps.vnc.rfb INFO --- [kvmd] > [::ffff:192.168.1.107]:54480: Cancelling subtask ... > kvmd.apps.vnc.rfb INFO --- [entry] > [::ffff:192.168.1.107]:54480: Connection closed > ^Ckvmd.apps.vnc.server INFO --- Bye-bye > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)