In the case of Guacamole clients that
 support the "required" instruction, this function will send any of the
three
 unpopulated RDP authentication parameters back to the client so that the
 connection owner can provide the required information.  If the values have
 been provided in the original connection parameters the user will not be
 prompted for updated parameters. If the version of Guacamole Client in use
 by the connection owner does not support the "required" instruction then
the
 connection will fail. This function always returns true.

The client is deemed to be not supporting required when:

> return (user->info.protocol_version >= GUAC_PROTOCOL_VERSION_1_3_0);


How can you use old protocol?
Actually, I see in title you are using guacd 1.5.5
But what is your client?

вс, 9 мар. 2025 г. в 16:45, Gal Sabas <gal...@checkpoint.com.invalid>:

> I changed the configuration I sent to guacd and now I get the
> following error message:
> Client does not support the "required" instruction. No authentication
> parameters will be requested.
>
> To which client does this error refer to? Are you familiar with a solution
> to this issue?
>
> Thanks!
>
> Get Outlook for Mac <https://aka.ms/GetOutlookForMac>
> From: Gal Sabas <gal...@checkpoint.com.INVALID>
> Date: Thursday, 6 March 2025 at 15:09
> To: user@guacamole.apache.org <user@guacamole.apache.org>
> Subject: Re: Parameter prompting RDP - guacd 1.5.5
>
> Hi,
> I don’t use any specific config, if there is a specific thing you need to
> know, let me know.
> Some more info - my guacamole-client is running as a submodule of one
> docker container, and Guacd runs on a different container (I use
> Dockerfile).
> These are the guacd logs:
>
> guacd[1]: INFO: Creating new client for protocol "rdp"
> guacd[1]: INFO: Connection ID is "$b014292d-f7ef-45ff-9b90-d898e27f4cc3"
> guacd[14]: DEBUG: Processing instruction: size
> guacd[14]: DEBUG: Processing instruction: audio
> guacd[14]: DEBUG: Processing instruction: video
> guacd[14]: DEBUG: Processing instruction: image
> guacd[14]: DEBUG: Parameter "console" omitted. Using default value of 0.
> guacd[14]: DEBUG: Parameter "console-audio" omitted. Using default value
> of 0.
> guacd[14]: INFO: Security mode: Negotiate (ANY)
> guacd[14]: DEBUG: User resolution is 3440x1226 at 96 DPI
> guacd[14]: DEBUG: Parameter "dpi" omitted. Using default value of 96.
> guacd[14]: DEBUG: Using resolution of 3440x1226 at 96 DPI
> guacd[14]: DEBUG: Parameter "force-lossless" omitted. Using default value
> of 0.
> guacd[14]: DEBUG: Parameter "read-only" omitted. Using default value of 0.
> guacd[14]: DEBUG: Parameter "client-name" omitted. Using default value of
> "Guacamole RDP".
> guacd[14]: DEBUG: Parameter "enable-wallpaper" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "enable-theming" omitted. Using default value
> of 0.
> guacd[14]: DEBUG: Parameter "enable-font-smoothing" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "enable-full-window-drag" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "enable-desktop-composition" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "enable-menu-animations" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "disable-bitmap-caching" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "disable-offscreen-caching" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "color-depth" omitted. Using default value of
> 16.
> guacd[14]: DEBUG: Parameter "disable-audio" omitted. Using default value
> of 0.
> guacd[14]: DEBUG: Parameter "enable-drive" omitted. Using default value of
> 0.
> guacd[14]: DEBUG: Parameter "drive-name" omitted. Using default value of
> "Guacamole Filesystem".
> guacd[14]: DEBUG: Parameter "drive-path" omitted. Using default value of
> "".
> guacd[14]: DEBUG: Parameter "create-drive-path" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "disable-download" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "disable-upload" omitted. Using default value
> of 0.
> guacd[14]: DEBUG: Parameter "enable-sftp" omitted. Using default value of
> 0.
> guacd[14]: DEBUG: Parameter "sftp-hostname" omitted. Using default value
> of "34.236.191.6".
> guacd[14]: DEBUG: Parameter "sftp-port" omitted. Using default value of
> "22".
> guacd[14]: DEBUG: Parameter "sftp-username" omitted. Using default value
> of "".
> guacd[14]: DEBUG: Parameter "sftp-password" omitted. Using default value
> of "".
> guacd[14]: DEBUG: Parameter "sftp-passphrase" omitted. Using default value
> of "".
> guacd[14]: DEBUG: Parameter "sftp-root-directory" omitted. Using default
> value of "/".
> guacd[14]: DEBUG: Parameter "sftp-server-alive-interval" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "sftp-disable-download" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "sftp-disable-upload" omitted. Using default
> value of 0.
> guacd[14]: DEBUG: Parameter "recording-name" omitted. Using default value
> of "recording".
> guacd[14]: DEBUG: Parameter "recording-exclude-output" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "recording-exclude-mouse" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "recording-exclude-touch" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "recording-include-keys" omitted. Using
> default value of 0.
> guacd[14]: DEBUG: Parameter "create-recording-path" omitted. Using default
> value of 0.
> guacd[14]: INFO: Resize method: display-update
> guacd[14]: DEBUG: Parameter "enable-touch" omitted. Using default value of
> 0.
> guacd[14]: DEBUG: Parameter "gateway-port" omitted. Using default value of
> 443.
> guacd[14]: DEBUG: Parameter "disable-copy" omitted. Using default value of
> 0.
> guacd[14]: DEBUG: Parameter "disable-paste" omitted. Using default value
> of 0.
> guacd[14]: INFO: No clipboard line-ending normalization specified.
> Defaulting to preserving the format of all line endings.
> guacd[14]: DEBUG: Parameter "wol-send-packet" omitted. Using default value
> of 0.
> guacd[14]: INFO: User "@11a37d03-f80c-4774-9e42-c0750e2e3f93" joined
> connection "$b014292d-f7ef-45ff-9b90-d898e27f4cc3" (1 users now present)
> guacd[14]: DEBUG: Client has not defined its protocol version.
> guacd[14]: INFO: Loading keymap "base"
> guacd[14]: INFO: Loading keymap "en-us-qwerty"
> guacd[14]: DEBUG: Support for CLIPRDR (clipboard redirection) registered.
> Awaiting channel connection.
> guacd[14]: DEBUG: Support for static channel "rdpdr" loaded.
> guacd[14]: DEBUG: Support for static channel "rdpsnd" loaded.
> guacd[14]: DEBUG: Local framebuffer format  PIXEL_FORMAT_BGRX32
> guacd[14]: DEBUG: Remote framebuffer format PIXEL_FORMAT_RGB16
> guacd[14]: DEBUG: creating directory /root/.config/freerdp
> guacd[14]: DEBUG: creating directory [/root/.config/freerdp/certs]
> guacd[14]: DEBUG: created directory [/root/.config/freerdp/server]
> guacd[14]: DEBUG: BIO_read returned an error: error:14094438:SSL
> routines:ssl3_read_bytes:tlsv1 alert internal error
> guacd[14]: DEBUG: transport_read_layer:freerdp_set_last_error_ex
> ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
> guacd[14]: DEBUG: BIO_read returned an error: error:14094438:SSL
> routines:ssl3_read_bytes:tlsv1 alert internal error
> guacd[14]: DEBUG: transport_read_layer:freerdp_set_last_error_ex
> ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
> guacd[14]: DEBUG: freerdp_post_connect failed
> guacd[14]: DEBUG: SVC "rdpdr" disconnected.
> guacd[14]: DEBUG: SVC "rdpsnd" disconnected.
> guacd[14]: INFO: RDP server closed/refused connection: Server refused
> connection (wrong security type?)
> guacd[14]: INFO: User "@11a37d03-f80c-4774-9e42-c0750e2e3f93" disconnected
> (0 users remain)
> guacd[14]: INFO: Last user of connection
> "$b014292d-f7ef-45ff-9b90-d898e27f4cc3" disconnected
> guacd[14]: DEBUG: Requesting termination of client...
> guacd[14]: DEBUG: Client terminated successfully.
> guacd[1]: INFO: Connection "$b014292d-f7ef-45ff-9b90-d898e27f4cc3" removed.
> guacd[1]: DEBUG: Unable to request termination of client process: No such
> process
> guacd[1]: DEBUG: All child processes for connection
> "$b014292d-f7ef-45ff-9b90-d898e27f4cc3" have been terminated.
>
>
> Get Outlook for Mac
> <https://protect.checkpoint.com/v2/r02/___https://aka.ms/GetOutlookForMac___.YzJlOmNwYWxsOmM6bzozYjJhODkwMTJmODUxOWJkYjQ4ODk5M2U1YTRhMjMwZTo3OjllNDc6YTVhMWUzMDAwNGUwOGZiM2U0N2I5YzE2NDQ0YzNhZDg4MWYxNTQ0ZjFkNjVkNTk0NWEzMGJhYTM3ZmUwNTA1YTpoOlQ6Tg>
> From: Anakien Skywalker <njuhaand...@gmail.com>
> Date: Thursday, 6 March 2025 at 14:58
> To: user@guacamole.apache.org <user@guacamole.apache.org>
> Subject: Re: Parameter prompting RDP - guacd 1.5.5
>
> Hi,
> Would appreciate it if you provide raw config and full logs.
> For me, prompting is working out of the box in 1.5.5.
>
> чт, 6 мар. 2025 г. в 12:26, Gal Sabas <gal...@checkpoint.com.invalid>:
>
>> Hi,
>>
>>
>>
>> I'm working with guacamole to connect to an RDP app. I was working with
>> guacd version 1.4.0 and once I upgraded my guacd version to 1.5.5 I strated
>> experiencing issues with my RDP connections.
>>
>>
>>
>> When I connect to an RDP app the has security mode 'any' and no
>> authentication, I get an error and the connection fails with this error
>> message: 'RDP server closed/refused connection: Server refused connection
>> (wrong security type?)'.
>>
>>
>>
>> From what I understand, this change of behaviour is caused by the
>> addition of parameter prompting.
>> Can you please explain what should I change in the configuration of my
>> guacamole-client/guacd in order to support parameter prompting? Do I need
>> to provide a UI for the prompting message or is it native in your code?
>> For now without any changes, I don't see and prompt for username/password.
>>
>>
>>
>> Thanks!
>>
>>
>>
>>
>>
>

Reply via email to