[
https://issues.apache.org/jira/browse/GUACAMOLE-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087494#comment-17087494
]
Jeffrey Lebowski commented on GUACAMOLE-1036:
---------------------------------------------
freerdp-shadow-cli:
[...]
{{[10:23:47:117] [68796:68820] [INFO][com.freerdp.client.shadow] - Client from
192.168.0.16 is activated (1920x1080@32)}}
{{[10:23:47:118] [68796:68821] [DEBUG][com.freerdp.channels.rdpsnd.server] -
Client requested sound quality: 0x0002}}
{{[10:23:47:144] [68796:68820] [DEBUG][com.freerdp.client.shadow] -
initializing planar bitmap encoder}}
{{[10:23:47:218] [68796:68822] [ERROR][com.freerdp.channels.audin.server] -
WTSVirtualChannelQuery failed}}
{{[10:23:47:223] [68796:68820] [ERROR][com.freerdp.core.peer] -
peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail}}
{{[10:23:47:223] [68796:68820] [ERROR][com.freerdp.core.transport] -
transport_check_fds: transport->ReceiveCallback() - -1}}
{{[10:23:47:223] [68796:68820] [DEBUG][com.freerdp.core.rdp] -
transport_check_fds() - -1}}
{{[10:23:47:223] [68796:68820] [ERROR][com.freerdp.client.shadow] - Failed to
check FreeRDP file descriptor}}
guacd:
{{guacd[6]: INFO: Guacamole proxy daemon (guacd) version 1.1.0 started }}
{{guacd[6]: DEBUG: Successfully bound socket to host 0.0.0.0, port 4822 }}
{{guacd[6]: INFO: Listening on host 0.0.0.0, port 4822 }}
{{guacd[6]: INFO: Creating new client for protocol "rdp" }}
{{guacd[6]: INFO: Connection ID is "$985b6f70-6655-4b7f-a107-5403e3b51077" }}
{{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: Parameter "console" omitted. Using default value of 0. }}
{{guacd[8]: DEBUG: Parameter "console-audio" omitted. Using default value of 0.
}}
{{guacd[8]: DEBUG: Parameter "disable-auth" omitted. Using default value of 0.
}}
{{guacd[8]: INFO: Security mode: Negotiate (ANY) }}
{{guacd[8]: DEBUG: User resolution is 1920x919 at 96 DPI }}
{{guacd[8]: DEBUG: Parameter "dpi" omitted. Using default value of 96. }}
{{guacd[8]: DEBUG: Using resolution of 1920x919 at 96 DPI }}
{{guacd[8]: DEBUG: Parameter "read-only" omitted. Using default value of 0. }}
{{guacd[8]: DEBUG: Parameter "client-name" omitted. Using default value of
"Guacamole RDP".}}
{{guacd[8]: DEBUG: Parameter "enable-font-smoothing" omitted. Using default
value of 0.}}
{{guacd[8]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
default value of 0.}}
{{guacd[8]: DEBUG: Parameter "disable-bitmap-caching" omitted. Using default
value of 0. }}
{{guacd[8]: DEBUG: Parameter "disable-offscreen-caching" omitted. Using default
value of 0.}}
{{guacd[8]: DEBUG: Parameter "disable-glyph-caching" omitted. Using default
value of 0. }}
{{guacd[8]: DEBUG: Parameter "disable-audio" omitted. Using default value of 0.
}}
{{guacd[8]: DEBUG: Parameter "enable-printing" omitted. Using default value of
0.}}
{{guacd[8]: DEBUG: Parameter "printer-name" omitted. Using default value of
"Guacamole Printer". [24/1909]}}
{{guacd[8]: DEBUG: Parameter "enable-drive" omitted. Using default value of 0.}}
{{guacd[8]: DEBUG: Parameter "drive-name" omitted. Using default value of
"Guacamole Filesystem".}}
{{guacd[8]: DEBUG: Parameter "drive-path" omitted. Using default value of "".}}
{{guacd[8]: DEBUG: Parameter "create-drive-path" 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
"192.168.0.30".}}
{{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 "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]: INFO: Resize method: display-update}}
{{guacd[8]: DEBUG: Parameter "enable-audio-input" omitted. Using default value
of 0.}}
{{guacd[8]: DEBUG: Parameter "gateway-port" omitted. Using default value of
443.}}
{{guacd[8]: INFO: User "@7c73bf81-7cf1-435b-940c-614f64ce1ab0" joined
connection "$985b6f70-6655-4b7f-a107-5403e3b51077" (1 users now present)}}
{{guacd[8]: DEBUG: Client is using protocol version "VERSION_1_1_0"}}
{{guacd[8]: INFO: Loading keymap "base"}}
{{guacd[8]: INFO: Loading keymap "de-de-qwertz"}}
{{guacd[8]: DEBUG: Support for CLIPRDR (clipboard redirection) registered.
Awaiting channel connection.}}
{{guacd[8]: DEBUG: Support for static channel "rdpdr" loaded.}}
{{guacd[8]: DEBUG: Support for static channel "rdpsnd" loaded.}}
{{guacd[8]: DEBUG: Local framebuffer format PIXEL_FORMAT_BGRX32}}
{{guacd[8]: DEBUG: Remote framebuffer format PIXEL_FORMAT_BGRA32}}
{{guacd[8]: DEBUG: creating directory /root/.config/freerdp}}
{{guacd[8]: DEBUG: creating directory [/root/.config/freerdp/certs]}}
{{guacd[8]: DEBUG: created directory [/root/.config/freerdp/server]}}
{{guacd[8]: DEBUG: Server resized display to 1920x1080}}
{{guacd[8]: DEBUG: CLIPRDR (clipboard redirection) channel connected.}}
{{guacd[8]: DEBUG: SVC "rdpdr" connected.}}
{{guacd[8]: DEBUG: SVC "rdpsnd" connected.}}
{{guacd[8]: DEBUG: Loading Dynamic Virtual Channel disp}}
{{guacd[8]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz}}
{{guacd[8]: DEBUG: Clipboard data received. Reporting availability of clipboard
data to RDP server.}}
{{guacd[8]: DEBUG: BIO_read returned a system error 0: Success}}
{{guacd[8]: DEBUG: freerdp_check_fds() failed - 0}}
{{guacd[8]: ERROR: Connection closed.}}
{{guacd[8]: DEBUG: SVC "rdpdr" disconnected.}}
{{guacd[8]: DEBUG: SVC "rdpsnd" disconnected.}}
{{guacd[8]: INFO: Internal RDP client disconnected}}
{{guacd[8]: INFO: User "@7c73bf81-7cf1-435b-940c-614f64ce1ab0" disconnected (0
users remain)}}
{{guacd[8]: INFO: Last user of connection
"$985b6f70-6655-4b7f-a107-5403e3b51077" disconnected}}
{{guacd[8]: DEBUG: Requesting termination of client...}}
{{guacd[8]: DEBUG: Client terminated successfully.}}
{{guacd[6]: INFO: Connection "$985b6f70-6655-4b7f-a107-5403e3b51077" removed.}}
> can not connect via RDP using guacamole docker
> ----------------------------------------------
>
> Key: GUACAMOLE-1036
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1036
> Project: Guacamole
> Issue Type: Bug
> Components: RDP
> Affects Versions: 1.1.0
> Environment: guacamole 1.1.0 on Manjaro with Docker 19.03.8-ce
> Reporter: Jeffrey Lebowski
> Priority: Minor
>
> I set up guacamole via docker and nginx as reverse proxy.
> VNC-connections work as expected, but RDP does not.
> The system I want to remote control is an Arch linux system running x11vnc
> and FreeRDP version 2.0.0 (git n/a).
> I would say the guacamole docker side is set up correctly because "everything
> VNC" and "everything SSH" to my Arch system works.
> The FreeRDP setup on the Arch system is this (started as a normal user, not
> root):
> {{[xx@arch]$ freerdp-shadow-cli -auth}}
> {{[13:12:17:144] [52077:52077] [INFO][com.freerdp.server.shadow.x11] - X11
> Extensions: XFixes: 1 Xinerama: 1 XDamage: 0 XShm: 0}}
> {{[13:12:17:148] [52077:52077] [INFO][com.freerdp.core.listener] - Listening
> on 0.0.0.0:3389}}
> Then the connection from guacamole:
> {{[13:13:01:657] [52077:52085] [INFO][com.freerdp.core.connection] - Client
> Security: NLA:0 TLS:1 RDP:0}}
> {{[13:13:01:657] [52077:52085] [INFO][com.freerdp.core.connection] - Server
> Security: NLA:0 TLS:1 RDP:1}}
> {{[13:13:01:657] [52077:52085] [INFO][com.freerdp.core.connection] -
> Negotiated Security: NLA:0 TLS:1 RDP:0}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - Accepted
> client: Guacamole RDP}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - Accepted
> channels:}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - cliprdr}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - rdpdr}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - rdpsnd}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.connection] - drdynvc}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.gcc] - Active rdp
> encryption level: NONE}}
> {{[13:13:01:662] [52077:52085] [INFO][com.freerdp.core.gcc] - Selected rdp
> encryption method: NONE}}
> {{[13:13:01:686] [52077:52085] [INFO][com.freerdp.client.shadow] - Client
> from 192.168.0.16 is activated (1920x1080@32)}}
> {{[13:13:01:814] [52077:52085] [ERROR][com.freerdp.core.peer] -
> peer_recv_callback: CONNECTION_STATE_ACTIVE - peer_recv_pdu() fail}}
> {{[13:13:01:814] [52077:52085] [ERROR][com.freerdp.core.transport] -
> transport_check_fds: transport->ReceiveCallback() - -1}}
> {{[13:13:01:814] [52077:52085] [ERROR][com.freerdp.client.shadow] - Failed to
> check FreeRDP file descriptor}}
> That connection in the guacd log:
> {{guacd[6]: INFO: Guacamole proxy daemon (guacd) version 1.1.0 started}}
> {{guacd[6]: INFO: Listening on host 0.0.0.0, port 4822}}
> {{guacd[6]: INFO: Creating new client for protocol "rdp"}}
> {{guacd[6]: INFO: Connection ID is "$f8d73f56-bf55-4335-8c68-3b0b9376f4ed"}}
> {{guacd[8]: INFO: Security mode: Negotiate (ANY)}}
> {{guacd[8]: INFO: Resize method: display-update}}
> {{guacd[8]: INFO: User "@dd6c34f0-833e-4e07-a9b4-c02b15cac414" joined
> connection "$f8d73f56-bf55-4335-8c68-3b0b9376f4ed" (1 users now present)}}
> {{guacd[8]: INFO: Loading keymap "base"}}
> {{guacd[8]: INFO: Loading keymap "de-de-qwertz"}}
> {{guacd[8]: INFO: Accepted format: 16-bit PCM with 2 channels at 44100 Hz}}
> {{guacd[8]: ERROR: Connection closed.}}
> {{guacd[8]: INFO: Internal RDP client disconnected}}
> {{guacd[8]: INFO: User "@dd6c34f0-833e-4e07-a9b4-c02b15cac414" disconnected
> (0 users remain)}}
> {{guacd[8]: INFO: Last user of connection
> "$f8d73f56-bf55-4335-8c68-3b0b9376f4ed" disconnected}}
> {{guacd[6]: INFO: Connection "$f8d73f56-bf55-4335-8c68-3b0b9376f4ed"
> removed.}}
> The "funny" thing is that in the browser used to connect I can sometimes see
> a "screenshot" of my Arch desktop when trying the RDP connection but
> immediatly after that comes the guacamole error message aborting the
> connection.
> Another strange thing is that - only once - I got a "red screen" with
> "Welcome" written on it in the browser trying the RDP connection (but I did
> not the the desktop or anything else).
> I tried different RDP connections settings in guacamole - none of them works
> as expected.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)