[ 
https://issues.apache.org/jira/browse/GUACAMOLE-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069992#comment-17069992
 ] 

Joachim Lindenberg edited comment on GUACAMOLE-952 at 3/28/20, 6:26 PM:
------------------------------------------------------------------------

Fix works. I missed the new security mode vmconnect initially.


was (Author: jol):
Today I built a new version (both master and staging/1.2.0) and it didnĀ“t work 
for me. With debugging enabled I got the following docker logs guacd:

guacd[7]: INFO: Guacamole proxy daemon (guacd) version 1.2.0 started
guacd[7]: DEBUG:        Successfully bound socket to host 0.0.0.0, port 4822
guacd[7]: INFO: Listening on host 0.0.0.0, port 4822
guacd[7]: INFO: Creating new client for protocol "rdp"
guacd[7]: INFO: Connection ID is "$c8442d34-6367-4fab-86d3-d363f01d0121"
guacd[9]: DEBUG:        Processing instruction: size
guacd[9]: DEBUG:        Processing instruction: audio
guacd[9]: DEBUG:        Processing instruction: video
guacd[9]: DEBUG:        Processing instruction: image
guacd[9]: DEBUG:        Processing instruction: timezone
guacd[9]: DEBUG:        Parameter "disable-auth" omitted. Using default value 
of 0.
guacd[9]: INFO: Security mode: NLA
guacd[9]: DEBUG:        User resolution is 1920x915 at 144 DPI
guacd[9]: DEBUG:        Parameter "dpi" omitted. Using default value of 96.
guacd[9]: DEBUG:        Using resolution of 1280x610 at 96 DPI
guacd[9]: DEBUG:        Parameter "read-only" omitted. Using default value of 0.
guacd[9]: DEBUG:        Parameter "client-name" omitted. Using default value of 
"Guacamole RDP".
guacd[9]: DEBUG:        Parameter "enable-wallpaper" omitted. Using default 
value of 0.
guacd[9]: DEBUG:        Parameter "enable-theming" omitted. Using default value 
of 0.
guacd[9]: DEBUG:        Parameter "enable-font-smoothing" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "enable-full-window-drag" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "enable-desktop-composition" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "enable-menu-animations" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "disable-bitmap-caching" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "disable-offscreen-caching" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "disable-glyph-caching" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "color-depth" omitted. Using default value of 
16.
guacd[9]: DEBUG:        Preconnection BLOB: 
"fa0a83c1-5ac4-4355-8020-cfc75898beeb"
guacd[9]: DEBUG:        Parameter "disable-audio" omitted. Using default value 
of 0.
guacd[9]: DEBUG:        Parameter "enable-printing" omitted. Using default 
value of 0.
guacd[9]: DEBUG:        Parameter "printer-name" omitted. Using default value 
of "Guacamole Printer".
guacd[9]: DEBUG:        Parameter "enable-drive" omitted. Using default value 
of 0.
guacd[9]: DEBUG:        Parameter "drive-name" omitted. Using default value of 
"Guacamole Filesystem".
guacd[9]: DEBUG:        Parameter "drive-path" omitted. Using default value of 
"".
guacd[9]: DEBUG:        Parameter "create-drive-path" omitted. Using default 
value of 0.
guacd[9]: DEBUG:        Parameter "timezone" omitted. Using default value of 
"Europe/Berlin".
guacd[9]: DEBUG:        Parameter "enable-sftp" omitted. Using default value of 
0.
guacd[9]: DEBUG:        Parameter "sftp-hostname" omitted. Using default value 
of "Vyper2019.samba.lindenberg.one".
guacd[9]: DEBUG:        Parameter "sftp-port" omitted. Using default value of 
"22".
guacd[9]: DEBUG:        Parameter "sftp-username" omitted. Using default value 
of "Joachim".
guacd[9]: DEBUG:        Parameter "sftp-password" omitted. Using default value 
of "".
guacd[9]: DEBUG:        Parameter "sftp-passphrase" omitted. Using default 
value of "".
guacd[9]: DEBUG:        Parameter "sftp-root-directory" omitted. Using default 
value of "/".
guacd[9]: DEBUG:        Parameter "sftp-server-alive-interval" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "recording-name" omitted. Using default value 
of "recording".
guacd[9]: DEBUG:        Parameter "recording-exclude-output" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "recording-exclude-mouse" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "recording-include-keys" omitted. Using 
default value of 0.
guacd[9]: DEBUG:        Parameter "create-recording-path" omitted. Using 
default value of 0.
guacd[9]: INFO: Resize method: none
guacd[9]: DEBUG:        Parameter "enable-audio-input" omitted. Using default 
value of 0.
guacd[9]: DEBUG:        Parameter "gateway-port" omitted. Using default value 
of 443.
guacd[9]: DEBUG:        Parameter "disable-copy" omitted. Using default value 
of 0.
guacd[9]: DEBUG:        Parameter "disable-paste" omitted. Using default value 
of 0.
guacd[9]: INFO: User "@052ef207-989e-43d1-9414-4086db748bcc" joined connection 
"$c8442d34-6367-4fab-86d3-d363f01d0121" (1 users now present)
guacd[9]: DEBUG:        Client is using protocol version "VERSION_1_1_0"
guacd[9]: INFO: Loading keymap "base"
guacd[9]: INFO: Loading keymap "de-de-qwertz"
guacd[9]: DEBUG:        VirtualChannelEntryEx
guacd[9]: DEBUG:        Support for CLIPRDR (clipboard redirection) registered. 
Awaiting channel connection.
guacd[9]: DEBUG:        Support for static channel "rdpdr" loaded.
guacd[9]: DEBUG:        Support for static channel "rdpsnd" loaded.
guacd[9]: DEBUG:        Local framebuffer format  PIXEL_FORMAT_BGRX32
guacd[9]: DEBUG:        Remote framebuffer format PIXEL_FORMAT_RGB16
guacd[9]: DEBUG:        Enabling security layer negotiation: FALSE
guacd[9]: DEBUG:        Enabling restricted admin mode: FALSE
guacd[9]: DEBUG:        Enabling RDP security: FALSE
guacd[9]: DEBUG:        Enabling TLS security: FALSE
guacd[9]: DEBUG:        Enabling NLA security: TRUE
guacd[9]: DEBUG:        Enabling NLA extended security: FALSE
guacd[9]: DEBUG:        Security Layer Negotiation is disabled
guacd[9]: DEBUG:        Sending preconnection PDU
guacd[9]: DEBUG:        connecting to peer 192.168.177.23
guacd[9]: DEBUG:        Negotiated NLA security
guacd[9]: DEBUG:        nego_security_connect with PROTOCOL_HYBRID
guacd[9]: DEBUG:        creating directory /root/.config/freerdp
guacd[9]: DEBUG:        creating directory [/root/.config/freerdp/certs]
guacd[9]: DEBUG:        created directory [/root/.config/freerdp/server]
guacd[9]: DEBUG:        InitSecurityInterfaceExA
guacd[9]: DEBUG:        nla_client_init 396 : packageName=Negotiate ; 
cbMaxToken=12256
guacd[9]: DEBUG:        Sending Authentication Token
guacd[9]: DEBUG:        CredSSP protocol support 6, peer supports 6
guacd[9]: DEBUG:        Sending Authentication Token
guacd[9]: DEBUG:        BIO_read returned a system error 104: Connection reset 
by peer
guacd[9]: DEBUG:        transport_check_fds: transport_read_pdu() - -1
guacd[9]: DEBUG:        transport_check_fds() - -1
guacd[9]: DEBUG:        freerdp_set_last_error 
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
guacd[9]: DEBUG:        Enabling security layer negotiation: FALSE
guacd[9]: DEBUG:        Enabling restricted admin mode: FALSE
guacd[9]: DEBUG:        Enabling RDP security: FALSE
guacd[9]: DEBUG:        Enabling TLS security: FALSE
guacd[9]: DEBUG:        Enabling NLA security: TRUE
guacd[9]: DEBUG:        Enabling NLA extended security: FALSE
guacd[9]: DEBUG:        Security Layer Negotiation is disabled
guacd[9]: DEBUG:        Sending preconnection PDU
guacd[9]: DEBUG:        connecting to peer 192.168.177.23
guacd[9]: DEBUG:        Negotiated NLA security
guacd[9]: DEBUG:        nego_security_connect with PROTOCOL_HYBRID
guacd[9]: DEBUG:        InitSecurityInterfaceExA
guacd[9]: DEBUG:        nla_client_init 396 : packageName=Negotiate ; 
cbMaxToken=12256
guacd[9]: DEBUG:        Sending Authentication Token
guacd[9]: DEBUG:        CredSSP protocol support 6, peer supports 6
guacd[9]: DEBUG:        Sending Authentication Token
guacd[9]: DEBUG:        BIO_read returned a system error 104: Connection reset 
by peer
guacd[9]: DEBUG:        transport_check_fds: transport_read_pdu() - -1
guacd[9]: DEBUG:        transport_check_fds() - -1
guacd[9]: DEBUG:        freerdp_set_last_error 
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
guacd[9]: DEBUG:        freerdp_post_connect failed
guacd[9]: DEBUG:        SVC "rdpdr" disconnected.
guacd[9]: DEBUG:        SVC "rdpsnd" disconnected.
guacd[9]: ERROR:        Error connecting to RDP server
guacd[9]: INFO: User "@052ef207-989e-43d1-9414-4086db748bcc" disconnected (0 
users remain)
guacd[9]: INFO: Last user of connection "$c8442d34-6367-4fab-86d3-d363f01d0121" 
disconnected
guacd[9]: DEBUG:        Requesting termination of client...
guacd[9]: DEBUG:        Client terminated successfully.
guacd[7]: INFO: Connection "$c8442d34-6367-4fab-86d3-d363f01d0121" removed.
r

> Preconnection PDU support no longer works following migration to FreeRDP 2.0.0
> ------------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-952
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-952
>             Project: Guacamole
>          Issue Type: Bug
>          Components: RDP
>    Affects Versions: 1.1.0
>            Reporter: Nick Couchman
>            Assignee: Mike Jumper
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: guacd.log
>
>
> After the switch to FreeRDP 2, support for setting the Preconnection Blob (to 
> connect to Hyper-V, for example), appearst o be broken.  Looks like FreeRDP 
> 2.x code still supports it, but something about the detection on the 
> Guacamole side seems to detect it as missing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to