You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2023/04/10 17:10:00 UTC

[jira] [Updated] (GUACAMOLE-1741) guacd Docker image cannot authenticate with VeNCrypt

     [ https://issues.apache.org/jira/browse/GUACAMOLE-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Jumper updated GUACAMOLE-1741:
-----------------------------------
    Summary: guacd Docker image cannot authenticate with VeNCrypt  (was: guacd 1.5.0/vnc authentication failed)

> guacd Docker image cannot authenticate with VeNCrypt
> ----------------------------------------------------
>
>                 Key: GUACAMOLE-1741
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1741
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd-docker
>    Affects Versions: 1.5.0
>         Environment: docker
>            Reporter: Ronan SALMON
>            Assignee: Nick Couchman
>            Priority: Major
>             Fix For: 1.5.1
>
>
> I'm enabled to connect to VNC since I upgrade guacd from 1.4.0 to 1.5.0 .
> Using :
>  - guacamole-docker : 1.5.0
>  - x11vnc: 0.9.16 (debian 11.6)
> Working ok:
> {code:sh}
> docker run --name guacd --restart always -e GUACD_LOG_LEVEL=debug -p 4822:4822 -d guacamole/guacd:1.4.0
> {code}
>  guacd logs
> {code:sh}
> guacd[7]: INFO:	Creating new client for protocol "vnc"
> guacd[7]: INFO:	Connection ID is "$d1aab298-a8dc-43c1-b223-2870b3c68cfc"
> guacd[156]: DEBUG:	Processing instruction: size
> guacd[156]: DEBUG:	Processing instruction: audio
> guacd[156]: DEBUG:	Processing instruction: video
> guacd[156]: DEBUG:	Processing instruction: image
> guacd[156]: DEBUG:	Processing instruction: timezone
> guacd[156]: INFO:	Cursor rendering: local
> guacd[156]: DEBUG:	Parameter "swap-red-blue" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "read-only" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "color-depth" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "force-lossless" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "dest-port" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "encodings" omitted. Using default value of "zrle ultra copyrect hextile zlib corre rre raw".
> guacd[156]: DEBUG:	Parameter "autoretry" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "reverse-connect" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "listen-timeout" omitted. Using default value of 5000.
> guacd[156]: DEBUG:	Parameter "enable-audio" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "enable-sftp" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "sftp-hostname" omitted. Using default value of "xxxxxx".
> guacd[156]: DEBUG:	Parameter "sftp-port" omitted. Using default value of "22".
> guacd[156]: DEBUG:	Parameter "sftp-username" omitted. Using default value of "".
> guacd[156]: DEBUG:	Parameter "sftp-password" omitted. Using default value of "".
> guacd[156]: DEBUG:	Parameter "sftp-passphrase" omitted. Using default value of "".
> guacd[156]: DEBUG:	Parameter "sftp-root-directory" omitted. Using default value of "/".
> guacd[156]: DEBUG:	Parameter "sftp-server-alive-interval" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "sftp-disable-download" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "sftp-disable-upload" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "recording-name" omitted. Using default value of "recording".
> guacd[156]: DEBUG:	Parameter "recording-exclude-output" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "recording-exclude-mouse" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "recording-include-keys" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "create-recording-path" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "disable-copy" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "disable-paste" omitted. Using default value of 0.
> guacd[156]: DEBUG:	Parameter "wol-send-packet" omitted. Using default value of 0.
> guacd[156]: INFO:	User "@03ad8099-0213-4f11-a320-63661ea14698" joined connection "$d1aab298-a8dc-43c1-b223-2870b3c68cfc" (1 users now present)
> guacd[156]: DEBUG:	Client is using protocol version "VERSION_1_3_0"
> guacd[156]: DEBUG:	GCrypt initialization started.
> guacd[156]: DEBUG:	GCrypt initialization completed.
> {code}
> x11vnc logs
> {code:sh}
> 23/02/2023 12:52:08 Got connection from client xxxxxx
> 23/02/2023 12:52:08   0 other clients
> 23/02/2023 12:52:08 Normal socket connection
> 23/02/2023 12:52:08 Disabled X server key autorepeat.
> 23/02/2023 12:52:08   to force back on run: 'xset r on' (3 times)
> 23/02/2023 12:52:08 incr accepted_client=100 for xxxxxx:50008  sock=10
> 23/02/2023 12:52:08 Client Protocol Version 3.8
> 23/02/2023 12:52:08 Protocol version sent 3.8, using 3.8
> 23/02/2023 12:52:08 rfbProcessClientSecurityType: executing handler for type 2
> 23/02/2023 12:52:08 Pixel format for client xxxxxx:
> 23/02/2023 12:52:08   32 bpp, depth 24, little endian
> 23/02/2023 12:52:08   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
> 23/02/2023 12:52:08 no translation needed
> 23/02/2023 12:52:08 rfbProcessClientNormalMessage: ignoring unsupported encoding type ultraZip
> 23/02/2023 12:52:08 Using compression level 3 for client xxxxxx
> 23/02/2023 12:52:08 Enabling X-style cursor updates for client xxxxxx
> 23/02/2023 12:52:08 Enabling full-color cursor updates for client xxxxxx
> 23/02/2023 12:52:08 Enabling cursor position updates for client xxxxxx
> 23/02/2023 12:52:08 Enabling KeyboardLedState protocol extension for client xxxxxx
> 23/02/2023 12:52:08 Enabling NewFBSize protocol extension for client xxxxxx
> 23/02/2023 12:52:08 Enabling SupportedMessages protocol extension for client xxxxxx
> 23/02/2023 12:52:08 Enabling SupportedEncodings protocol extension for client xxxxxx
> 23/02/2023 12:52:08 Enabling ServerIdentity protocol extension for client xxxxxx
> 23/02/2023 12:52:08 Using ZRLE encoding for client xxxxxx
> 23/02/2023 12:52:09 client 100 network rate 76.6 KB/sec (57182.1 eff KB/sec)
> 23/02/2023 12:52:09 client 100 latency:  1.5 ms
> {code}
>  
> Not working : failed with password issue:
> {code:sh}
> docker run --name guacd --restart always -e GUACD_LOG_LEVEL=debug -p 4822:4822 -d guacamole/guacd:1.5.0
> {code}
> guacd logs
> {code:sh}
> guacd[1]: INFO:	Creating new client for protocol "vnc"
> guacd[1]: INFO:	Connection ID is "$cedbe6bf-9c48-4ec6-922d-3da4133e3d85"
> guacd[8]: DEBUG:	Processing instruction: size
> guacd[8]: DEBUG:	Processing instruction: audio
> guacd[8]: DEBUG:	Processing instruction: video
> guacd[8]: DEBUG:	Processing instruction: image
> guacd[8]: DEBUG:	Processing instruction: timezone
> guacd[8]: DEBUG:	Processing instruction: name
> guacd[8]: INFO:	Cursor rendering: local
> guacd[8]: DEBUG:	Parameter "swap-red-blue" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "read-only" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "color-depth" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "force-lossless" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "dest-port" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "encodings" omitted. Using default value of "zrle ultra copyrect hextile zlib corre rre raw".
> guacd[8]: DEBUG:	Parameter "autoretry" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "reverse-connect" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "listen-timeout" omitted. Using default value of 5000.
> guacd[8]: DEBUG:	Parameter "enable-audio" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "enable-sftp" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "sftp-hostname" omitted. Using default value of "xxxxxx".
> guacd[8]: DEBUG:	Parameter "sftp-port" omitted. Using default value of "22".
> guacd[8]: DEBUG:	Parameter "sftp-username" omitted. Using default value of "".
> guacd[8]: DEBUG:	Parameter "sftp-password" omitted. Using default value of "".
> guacd[8]: DEBUG:	Parameter "sftp-passphrase" omitted. Using default value of "".
> guacd[8]: DEBUG:	Parameter "sftp-root-directory" omitted. Using default value of "/".
> guacd[8]: DEBUG:	Parameter "sftp-server-alive-interval" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "sftp-disable-download" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "sftp-disable-upload" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "recording-name" omitted. Using default value of "recording".
> guacd[8]: DEBUG:	Parameter "recording-exclude-output" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "recording-exclude-mouse" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "recording-include-keys" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "create-recording-path" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "disable-copy" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "disable-paste" omitted. Using default value of 0.
> guacd[8]: DEBUG:	Parameter "wol-send-packet" omitted. Using default value of 0.
> guacd[8]: INFO:	User "@310c8627-bbac-4fcb-a78e-6a7c7bc18793" joined connection "$cedbe6bf-9c48-4ec6-922d-3da4133e3d85" (1 users now present)
> guacd[8]: DEBUG:	Client is using protocol version "VERSION_1_5_0"
> guacd[8]: ERROR:	Unable to connect to VNC server.
> guacd[8]: INFO:	User "@310c8627-bbac-4fcb-a78e-6a7c7bc18793" disconnected (0 users remain)
> {code}
> x11vnc logs
> {code:sh}
> 23/02/2023 11:39:59 Got connection from client xxxxxx                                                                                                                                                                                  
> 23/02/2023 11:39:59   0 other clients                                                                                                                                                                                                        
> 23/02/2023 11:39:59 Normal socket connection                                                                                                                                                                                                 
> 23/02/2023 11:39:59 Disabled X server key autorepeat.                                                                 
> 23/02/2023 11:39:59   to force back on run: 'xset r on' (3 times)                                                                                                                                                                            
> 23/02/2023 11:39:59 incr accepted_client=94 for xxxxxx:42256  sock=10                                           
> 23/02/2023 11:39:59 Client Protocol Version 3.8                                                                       
> 23/02/2023 11:39:59 Protocol version sent 3.8, using 3.8                                                                                                                                                                                     
> 23/02/2023 11:39:59 rfbProcessClientSecurityType: executing handler for type 2                                        
> 23/02/2023 11:39:59 authProcessClientMessage: authentication failed from xxxxxx                                 
> 23/02/2023 11:39:59 rfbAuthProcessClientMessage: password check failed                                                
> 23/02/2023 11:39:59 rfbClientSendString("password check failed!")                                                     
> 23/02/2023 11:39:59 client_count: 0                                                                                   
> 23/02/2023 11:39:59 Restored X server key autorepeat to: 1                                                            
> 23/02/2023 11:39:59 Client xxxxxx gone            
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)