[
https://issues.apache.org/jira/browse/GUACAMOLE-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041501#comment-17041501
]
Paul Kronenwetter edited comment on GUACAMOLE-962 at 2/21/20 12:58 PM:
-----------------------------------------------------------------------
I can add a bit of insight into the problem, having experienced it myself and
looked into why.
It seems that VirtualBox's RDP server doesn't announce capabilities in the
correct order. There is a flag or setting that could be configured when calling
FreeRDP2's API that will make this non-fatal.
{code:java}
guacd_1 | guacd[6]: INFO: Creating new client for protocol "rdp"
...
guacd_1 | guacd[8]: INFO: Accepted format: 16-bit PCM with 2 channels at
22050 Hz
guacd_1 | guacd[8]: INFO: Connected to RDPDR 1.12 as client 0x0004
guacd_1 | guacd[8]: DEBUG: Ignoring server capability set type=0x0001,
length=44
guacd_1 | guacd[8]: DEBUG: Ignoring server capability set type=0x0005,
length=8
guacd_1 | guacd[8]: DEBUG: Sending capabilities...
guacd_1 | guacd[8]: DEBUG: Capabilities sent.
guacd_1 | guacd[8]: DEBUG: Client ID confirmed
****
guacd_1 | guacd[8]: DEBUG: [0x0a] OpaqueRect - SERVER BUG: The support for
this feature was not announced! Use /relax-order-checks to ignore
****
guacd_1 | guacd[8]: DEBUG: order flags 0d failed
guacd_1 | guacd[8]: DEBUG: Fastpath update Orders [0] failed, status 0
guacd_1 | guacd[8]: DEBUG: fastpath_recv_update() - -1
guacd_1 | guacd[8]: DEBUG: fastpath_recv_update_data() fail
guacd_1 | guacd[8]: DEBUG: transport_check_fds:
transport->ReceiveCallback() - -3
guacd_1 | guacd[8]: DEBUG: freerdp_check_fds() failed - 0
guacd_1 | guacd[8]: ERROR: Connection closed.
guacd_1 | guacd[8]: INFO: User "@82559b89-8018-48b3-ae6b-e0f0377d2e8a"
disconnected (0 users remain)
guacd_1 | guacd[8]: INFO: Last user of connection
"$768e4a22-8c49-4131-91a8-4d8cbb2f5f06" disconnected
guacd_1 | guacd[8]: DEBUG: Requesting termination of client...
guacd_1 | guacd[8]: DEBUG: SVC "rdpdr" disconnected.
guacd_1 | guacd[8]: DEBUG: SVC "rdpsnd" disconnected.
guacd_1 | guacd[8]: INFO: Internal RDP client disconnected
guacd_1 | guacd[8]: DEBUG: Client terminated successfully.
guacd_1 | guacd[6]: INFO: Connection
"$768e4a22-8c49-4131-91a8-4d8cbb2f5f06" removed.
{code}
was (Author: kronenpj):
I can add a bit of insight into the problem, having experienced it myself and
looked into why.
It seems that VirtualBox's RDP server doesn't announce capabilities in the
correct order. There is a flag or setting that could be configured when calling
FreeRDP2's API that will make this non-fatal.
{code:java}
guacd_1 | guacd[6]: INFO: Creating new client for protocol "rdp"
...
guacd_1 | guacd[8]: INFO: Accepted format: 16-bit PCM with 2 channels at
22050 Hz
guacd_1 | guacd[8]: INFO: Connected to RDPDR 1.12 as client 0x0004
guacd_1 | guacd[8]: DEBUG: Ignoring server capability set type=0x0001,
length=44
guacd_1 | guacd[8]: DEBUG: Ignoring server capability set type=0x0005,
length=8
guacd_1 | guacd[8]: DEBUG: Sending capabilities...
guacd_1 | guacd[8]: DEBUG: Capabilities sent.
guacd_1 | guacd[8]: DEBUG: Client ID confirmed
guacd_1 | guacd[8]: DEBUG: [0x0a] OpaqueRect - SERVER BUG: The support for
this feature was not announced! Use /relax-order-checks to ignore
guacd_1 | guacd[8]: DEBUG: order flags 0d failed
guacd_1 | guacd[8]: DEBUG: Fastpath update Orders [0] failed, status 0
guacd_1 | guacd[8]: DEBUG: fastpath_recv_update() - -1
guacd_1 | guacd[8]: DEBUG: fastpath_recv_update_data() fail
guacd_1 | guacd[8]: DEBUG: transport_check_fds:
transport->ReceiveCallback() - -3
guacd_1 | guacd[8]: DEBUG: freerdp_check_fds() failed - 0
guacd_1 | guacd[8]: ERROR: Connection closed.
guacd_1 | guacd[8]: INFO: User "@82559b89-8018-48b3-ae6b-e0f0377d2e8a"
disconnected (0 users remain)
guacd_1 | guacd[8]: INFO: Last user of connection
"$768e4a22-8c49-4131-91a8-4d8cbb2f5f06" disconnected
guacd_1 | guacd[8]: DEBUG: Requesting termination of client...
guacd_1 | guacd[8]: DEBUG: SVC "rdpdr" disconnected.
guacd_1 | guacd[8]: DEBUG: SVC "rdpsnd" disconnected.
guacd_1 | guacd[8]: INFO: Internal RDP client disconnected
guacd_1 | guacd[8]: DEBUG: Client terminated successfully.
guacd_1 | guacd[6]: INFO: Connection
"$768e4a22-8c49-4131-91a8-4d8cbb2f5f06" removed.
{code}
> Version 1.1.0 doesn't work with virtualbox RDP
> ----------------------------------------------
>
> Key: GUACAMOLE-962
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-962
> Project: Guacamole
> Issue Type: Bug
> Components: RDP
> Affects Versions: 1.1.0
> Reporter: Gilbert Shih
> Priority: Major
>
> After upgrading from 1.0.0 (docker) to 1.1.0 (docker), the guacamole cannot
> connect to virtual box VMs with virtualbox RDP.
>
> Below is the error logs I got while trying to connect to a virtual box client
> through VRDP.
> {code:java}
> guacd[248]: INFO: No security mode specified. Defaulting to security mode
> negotiation with server.
> guacd[248]: INFO: Resize method: none
> guacd[248]: INFO: User "@92a830f3-f271-4cf8-b99e-0d72ec3f301d" joined
> connection "$41973560-facd-4ea4-890f-94916c2f03ae" (1 users now present)
> guacd[248]: INFO: Loading keymap "base"
> guacd[248]: INFO: Loading keymap "en-us-qwerty"
> guacd[248]: INFO: Accepted format: 16-bit PCM with 2 channels at 22050 Hz
> guacd[248]: INFO: Connected to RDPDR 1.12 as client 0x000a
> guacd[248]: ERROR: Connection closed.
> guacd[248]: INFO: User "@92a830f3-f271-4cf8-b99e-0d72ec3f301d" disconnected
> (0 users remain)
> guacd[248]: INFO: Last user of connection
> "$41973560-facd-4ea4-890f-94916c2f03ae" disconnected
> guacd[248]: INFO: Internal RDP client disconnected
> guacd[6]: INFO: Connection "$41973560-facd-4ea4-890f-94916c2f03ae" removed.
> {code}
>
> On the contrary, there is no problem for guacamole to connect to a machine
> with the windows built-in RDP.
>
>
> {code:java}
> guacd[2011]: INFO: Security mode: NLA
> guacd[2011]: INFO: Resize method: none
> guacd[2011]: INFO: User "@23bf8d8d-840d-49a3-8716-d2232f51d6fd" joined
> connection "$35ebd7dd-b99c-423c-b6b2-03a6ad5b584b" (1 users now present)
> guacd[2011]: INFO: Loading keymap "base"
> guacd[2011]: INFO: Loading keymap "en-us-qwerty"
> guacd[2011]: INFO: Connected to RDPDR 1.13 as client 0x0003
> guacd[2011]: INFO: Connected to RDPDR 1.13 as client 0x0002
> guacd[2011]: INFO: RDPDR user logged on
>
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)