You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Alessandro Sironi <a....@me.com.INVALID> on 2023/08/14 10:53:57 UTC

Error when compile guacamole-server-1.5.3

Hello all,

I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got 
this error during make:

make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
Making all in src/guacenc
make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
   CC       guacenc-video.o
video.c: In function ‘guacenc_video_alloc’:
video.c:63:22: error: assignment discards ‘const’ qualifier from pointer 
target type [-Werror=discarded-qualifiers]
    63 |     container_format = container_format_context->oformat;
       |                      ^
video.c:66:22: error: initialization discards ‘const’ qualifier from 
pointer target type [-Werror=discarded-qualifiers]
    66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
make[1]: *** [Makefile:544: all-recursive] Errore 1
make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
make: *** [Makefile:464: all] Errore 2

it's a standalone installation on a dedicated VM Debian 12, I've 
upgraded right now from D11 to D12 and now I'm going to upgrade 
Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but 
this is the first time I see this error.

Can someone help me please?

Thanks,

Alessandro


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hello Nick,

thanks for your reply!

I'll try to add the patch and I'll update here if I success or fail.

Best regards,

Alessandro

Il 14/08/2023 13:55, Nick Couchman ha scritto:
> On Mon, Aug 14, 2023 at 6:54 AM Alessandro Sironi
> <a....@me.com.invalid> wrote:
>> Hello all,
>>
>> I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got
>> this error during make:
>>
>> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
>> Making all in src/guacenc
>> make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
>>     CC       guacenc-video.o
>> video.c: In function ‘guacenc_video_alloc’:
>> video.c:63:22: error: assignment discards ‘const’ qualifier from pointer
>> target type [-Werror=discarded-qualifiers]
>>      63 |     container_format = container_format_context->oformat;
>>         |                      ^
>> video.c:66:22: error: initialization discards ‘const’ qualifier from
>> pointer target type [-Werror=discarded-qualifiers]
>>      66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
>>         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> cc1: all warnings being treated as errors
>> make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
>> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
>> make[1]: *** [Makefile:544: all-recursive] Errore 1
>> make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
>> make: *** [Makefile:464: all] Errore 2
>>
>> it's a standalone installation on a dedicated VM Debian 12, I've
>> upgraded right now from D11 to D12 and now I'm going to upgrade
>> Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but
>> this is the first time I see this error.
>>
>> Can someone help me please?
> You're running into this issue:
>
> https://issues.apache.org/jira/browse/GUACAMOLE-1714
>
> Which has been fixed in the Github code for Guacamole Server, but has
> not been released, yet (it is targeted for 1.6.0). You can do one of a
> few things to get it compiled:
> * Disable guacenc during the build process if you don't need it.
> * Apply the patch from the pull request(s) that fixed this issue
> (https://github.com/apache/guacamole-server/pull/399) and recompile.
> * Check out the master branch of guacamole-server from Github and build/compile.
>
> -Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Aug 14, 2023 at 6:54 AM Alessandro Sironi
<a....@me.com.invalid> wrote:
>
> Hello all,
>
> I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got
> this error during make:
>
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
> Making all in src/guacenc
> make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
>    CC       guacenc-video.o
> video.c: In function ‘guacenc_video_alloc’:
> video.c:63:22: error: assignment discards ‘const’ qualifier from pointer
> target type [-Werror=discarded-qualifiers]
>     63 |     container_format = container_format_context->oformat;
>        |                      ^
> video.c:66:22: error: initialization discards ‘const’ qualifier from
> pointer target type [-Werror=discarded-qualifiers]
>     66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
>        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
> make[1]: *** [Makefile:544: all-recursive] Errore 1
> make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
> make: *** [Makefile:464: all] Errore 2
>
> it's a standalone installation on a dedicated VM Debian 12, I've
> upgraded right now from D11 to D12 and now I'm going to upgrade
> Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but
> this is the first time I see this error.
>
> Can someone help me please?

You're running into this issue:

https://issues.apache.org/jira/browse/GUACAMOLE-1714

Which has been fixed in the Github code for Guacamole Server, but has
not been released, yet (it is targeted for 1.6.0). You can do one of a
few things to get it compiled:
* Disable guacenc during the build process if you don't need it.
* Apply the patch from the pull request(s) that fixed this issue
(https://github.com/apache/guacamole-server/pull/399) and recompile.
* Check out the master branch of guacamole-server from Github and build/compile.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hello Adrian,

Debian 12 runs Tomcat 10 but I have Tomcat9 on it, but anyway, Tomcat is 
not related to my compile issue also because right now is stopped.

Best,

Alessandro

Il 14/08/2023 13:54, Adrian Owen ha scritto:
> Debian 12 runs tomcat 10 that’s not supported by Guacamole https://issues.apache.org/jira/browse/GUACAMOLE-1325
>
> Debian 11 is okay and should also fix your build issues.
>
> Adrian
>
> -----Original Message-----
> From: Alessandro Sironi <a....@me.com.INVALID>
> Sent: 14 August 2023 11:54
> To: user@guacamole.apache.org
> Subject: Error when compile guacamole-server-1.5.3
>
> Hello all,
>
> I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got this error during make:
>
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
> Making all in src/guacenc
> make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
>     CC       guacenc-video.o
> video.c: In function ‘guacenc_video_alloc’:
> video.c:63:22: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
>      63 |     container_format = container_format_context->oformat;
>         |                      ^
> video.c:66:22: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
>      66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
>         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
> make[1]: *** [Makefile:544: all-recursive] Errore 1
> make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
> make: *** [Makefile:464: all] Errore 2
>
> it's a standalone installation on a dedicated VM Debian 12, I've upgraded right now from D11 to D12 and now I'm going to upgrade Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but this is the first time I see this error.
>
> Can someone help me please?
>
> Thanks,
>
> Alessandro
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Well, now it works, don't ask why, but now it works!

Best regards,

Alessandro

Il 21/08/2023 14:45, Alessandro Sironi ha scritto:
> Hi Nick, here debug log:
>
> ago 21 14:36:46 hcl guacd[863]: Guacamole proxy daemon (guacd) version 
> 1.5.3 started
> ago 21 14:36:46 hcl guacd[863]: Successfully bound AF_INET socket to 
> host 127.0.0.1, port 4822
> ago 21 14:36:46 hcl guacd[863]: Exiting and passing control to PID 864
> ago 21 14:36:46 hcl guacd[864]: Exiting and passing control to PID 865
> ago 21 14:36:46 hcl guacd[865]: Listening on host 127.0.0.1, port 4822
> ago 21 14:37:22 hcl guacd[865]: Creating new client for protocol "rdp"
> ago 21 14:37:22 hcl guacd[865]: Connection ID is 
> "$a56b4b78-edd6-451d-978e-5bc35d9ec0fa"
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: size
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: audio
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: video
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: image
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: timezone
> ago 21 14:37:23 hcl guacd[880]: Processing instruction: name
> ago 21 14:37:23 hcl guacd[880]: Parameter "console" omitted. Using 
> default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "console-audio" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Security mode: Negotiate (ANY)
> ago 21 14:37:23 hcl guacd[880]: Parameter "port" omitted. Using 
> default value of 3389.
> ago 21 14:37:23 hcl guacd[880]: User resolution is 1920x923 at 96 DPI
> ago 21 14:37:23 hcl guacd[880]: Parameter "dpi" omitted. Using default 
> value of 96.
> ago 21 14:37:23 hcl guacd[880]: Using resolution of 1920x923 at 96 DPI
> ago 21 14:37:23 hcl guacd[880]: Parameter "force-lossless" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "read-only" omitted. Using 
> default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "client-name" omitted. Using 
> default value of "Guacamole RDP".
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-bitmap-caching" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-offscreen-caching" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-glyph-caching" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Glyph caching is currently universally 
> disabled, regardless of the value of the "disable-glyph-caching" 
> parameter, as glyph caching support is not considered stable by 
> FreeRDP as>
> ago 21 14:37:23 hcl guacd[880]: Parameter "color-depth" omitted. Using 
> default value of 16.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-audio" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "enable-printing" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "printer-name" omitted. 
> Using default value of "Guacamole Printer".
> ago 21 14:37:23 hcl guacd[880]: Parameter "enable-drive" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "drive-name" omitted. Using 
> default value of "Guacamole Filesystem".
> ago 21 14:37:23 hcl guacd[880]: Parameter "drive-path" omitted. Using 
> default value of "".
> ago 21 14:37:23 hcl guacd[880]: Parameter "create-drive-path" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-download" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-upload" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "timezone" omitted. Using 
> default value of "Europe/Rome".
> ago 21 14:37:23 hcl guacd[880]: Parameter "enable-sftp" omitted. Using 
> default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-hostname" omitted. 
> Using default value of "192.168.69.112".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-port" omitted. Using 
> default value of "22".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-username" omitted. 
> Using default value of "arcasafe".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-password" omitted. 
> Using default value of "".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-passphrase" omitted. 
> Using default value of "".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-root-directory" 
> omitted. Using default value of "/".
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-server-alive-interval" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-disable-download" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-disable-upload" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "recording-name" omitted. 
> Using default value of "recording".
> ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-output" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-mouse" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-touch" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "recording-include-keys" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "create-recording-path" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Resize method: none
> ago 21 14:37:23 hcl guacd[880]: Parameter "enable-touch" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "enable-audio-input" 
> omitted. Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "gateway-port" omitted. 
> Using default value of 443.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-copy" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: Parameter "disable-paste" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: No clipboard line-ending normalization 
> specified. Defaulting to preserving the format of all line endings.
> ago 21 14:37:23 hcl guacd[880]: Parameter "wol-send-packet" omitted. 
> Using default value of 0.
> ago 21 14:37:23 hcl guacd[880]: User 
> "@1d8b0eb1-d0de-4fa3-aa40-1d96d2f4707e" joined connection 
> "$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" (1 users now present)
> ago 21 14:37:23 hcl guacd[880]: Client is using protocol version 
> "VERSION_1_5_0"
> ago 21 14:37:23 hcl guacd[880]: Loading keymap "base"
> ago 21 14:37:23 hcl guacd[880]: Loading keymap "en-us-qwerty"
> ago 21 14:37:23 hcl guacd[880]: Support for CLIPRDR (clipboard 
> redirection) registered. Awaiting channel connection.
> ago 21 14:37:23 hcl guacd[880]: Support for static channel "rdpdr" 
> loaded.
> ago 21 14:37:23 hcl guacd[880]: Support for static channel "rdpsnd" 
> loaded.
> ago 21 14:37:23 hcl guacd[880]: Local framebuffer format 
> PIXEL_FORMAT_BGRX32
> ago 21 14:37:23 hcl guacd[880]: Remote framebuffer format 
> PIXEL_FORMAT_RGB16
> ago 21 14:37:24 hcl guacd[880]: BIO_read returned an error: 
> error:0A000438:SSL routines::tlsv1 alert internal error
> ago 21 14:37:24 hcl guacd[880]: 
> transport_read_layer:freerdp_set_last_error_ex 
> ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
> ago 21 14:37:24 hcl guacd[880]: BIO_read returned an error: 
> error:0A000438:SSL routines::tlsv1 alert internal error
> ago 21 14:37:24 hcl guacd[880]: 
> transport_read_layer:freerdp_set_last_error_ex 
> ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
> ago 21 14:37:24 hcl guacd[880]: freerdp_post_connect failed
> ago 21 14:37:24 hcl guacd[880]: SVC "rdpdr" disconnected.
> ago 21 14:37:24 hcl guacd[880]: SVC "rdpsnd" disconnected.
> ago 21 14:37:24 hcl guacd[880]: RDP server closed/refused connection: 
> Server refused connection (wrong security type?)
> ago 21 14:37:24 hcl guacd[880]: User 
> "@1d8b0eb1-d0de-4fa3-aa40-1d96d2f4707e" disconnected (0 users remain)
> ago 21 14:37:24 hcl guacd[880]: Last user of connection 
> "$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" disconnected
> ago 21 14:37:24 hcl guacd[880]: Requesting termination of client...
> ago 21 14:37:24 hcl guacd[880]: Client terminated successfully.
> ago 21 14:37:24 hcl guacd[865]: Connection 
> "$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" removed.
> ago 21 14:37:45 hcl guacd[906]: Guacamole proxy daemon (guacd) version 
> 1.5.3 started
> ago 21 14:37:45 hcl guacd[906]: Unable to bind socket to any addresses.
>
> I've checked user's running Guacamole and was not the right one, I've 
> changed it editing guacd.service and daemon-reload after that, 
> rebooted the system to be sure all was good, but the issue with M$ RDP 
> still exist.
>
> Best regards,
>
> Alessandro
>
> Il 21/08/2023 14:23, Nick Couchman ha scritto:
>> On Mon, Aug 21, 2023 at 7:20 AM Alessandro Sironi
>> <a....@me.com.invalid> wrote:
>>> Hi Nick,
>>>
>>> here the log:
>>>
>>> ago 21 13:14:59 hcl guacd[36804]: Unable to read file "/"
>>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Unable to read
>>> file "/"
>>> ago 21 13:14:59 hcl guacd[36804]: RDP server closed/refused connection:
>>> Security negotiation failed (wrong security type?)
>>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: RDP server
>>> closed/refused connection: Security negotiation failed (wrong security
>>> type?)
>>> ago 21 13:14:59 hcl guacd[36804]: User
>>> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
>>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: User
>>> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
>>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Last user
>>> of connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
>>> ago 21 13:14:59 hcl guacd[36804]: Last user of connection
>>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
>>> ago 21 13:14:59 hcl guacd[22658]: Connection
>>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>>> ago 21 13:14:59 hcl guacd[22658]: guacd[22658]: INFO: Connection
>>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>>>
>>> seems to be something related to M$ side because if I RDP into a Linux
>>> Box it works w/out issues.
>>>
>>> I've already tried all type of auth on Guacamole.
>> A couple of more things to check:
>> * Enable debug logging for guacd and see if there's any more 
>> information logged.
>> * Make sure that the user running guacd has a valid home directory (it
>> exists) and the user has write access to the directory.
>>
>> -Nick
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi Nick, here debug log:

ago 21 14:36:46 hcl guacd[863]: Guacamole proxy daemon (guacd) version 
1.5.3 started
ago 21 14:36:46 hcl guacd[863]: Successfully bound AF_INET socket to 
host 127.0.0.1, port 4822
ago 21 14:36:46 hcl guacd[863]: Exiting and passing control to PID 864
ago 21 14:36:46 hcl guacd[864]: Exiting and passing control to PID 865
ago 21 14:36:46 hcl guacd[865]: Listening on host 127.0.0.1, port 4822
ago 21 14:37:22 hcl guacd[865]: Creating new client for protocol "rdp"
ago 21 14:37:22 hcl guacd[865]: Connection ID is 
"$a56b4b78-edd6-451d-978e-5bc35d9ec0fa"
ago 21 14:37:23 hcl guacd[880]: Processing instruction: size
ago 21 14:37:23 hcl guacd[880]: Processing instruction: audio
ago 21 14:37:23 hcl guacd[880]: Processing instruction: video
ago 21 14:37:23 hcl guacd[880]: Processing instruction: image
ago 21 14:37:23 hcl guacd[880]: Processing instruction: timezone
ago 21 14:37:23 hcl guacd[880]: Processing instruction: name
ago 21 14:37:23 hcl guacd[880]: Parameter "console" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "console-audio" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Security mode: Negotiate (ANY)
ago 21 14:37:23 hcl guacd[880]: Parameter "port" omitted. Using default 
value of 3389.
ago 21 14:37:23 hcl guacd[880]: User resolution is 1920x923 at 96 DPI
ago 21 14:37:23 hcl guacd[880]: Parameter "dpi" omitted. Using default 
value of 96.
ago 21 14:37:23 hcl guacd[880]: Using resolution of 1920x923 at 96 DPI
ago 21 14:37:23 hcl guacd[880]: Parameter "force-lossless" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "read-only" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "client-name" omitted. Using 
default value of "Guacamole RDP".
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-bitmap-caching" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-offscreen-caching" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-glyph-caching" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Glyph caching is currently universally 
disabled, regardless of the value of the "disable-glyph-caching" 
parameter, as glyph caching support is not considered stable by FreeRDP as>
ago 21 14:37:23 hcl guacd[880]: Parameter "color-depth" omitted. Using 
default value of 16.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-audio" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "enable-printing" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "printer-name" omitted. Using 
default value of "Guacamole Printer".
ago 21 14:37:23 hcl guacd[880]: Parameter "enable-drive" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "drive-name" omitted. Using 
default value of "Guacamole Filesystem".
ago 21 14:37:23 hcl guacd[880]: Parameter "drive-path" omitted. Using 
default value of "".
ago 21 14:37:23 hcl guacd[880]: Parameter "create-drive-path" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-download" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-upload" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "timezone" omitted. Using 
default value of "Europe/Rome".
ago 21 14:37:23 hcl guacd[880]: Parameter "enable-sftp" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-hostname" omitted. Using 
default value of "192.168.69.112".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-port" omitted. Using 
default value of "22".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-username" omitted. Using 
default value of "arcasafe".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-password" omitted. Using 
default value of "".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-passphrase" omitted. 
Using default value of "".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-root-directory" omitted. 
Using default value of "/".
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-server-alive-interval" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-disable-download" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "sftp-disable-upload" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "recording-name" omitted. 
Using default value of "recording".
ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-output" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-mouse" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "recording-exclude-touch" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "recording-include-keys" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "create-recording-path" 
omitted. Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Resize method: none
ago 21 14:37:23 hcl guacd[880]: Parameter "enable-touch" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "enable-audio-input" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "gateway-port" omitted. Using 
default value of 443.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-copy" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: Parameter "disable-paste" omitted. Using 
default value of 0.
ago 21 14:37:23 hcl guacd[880]: No clipboard line-ending normalization 
specified. Defaulting to preserving the format of all line endings.
ago 21 14:37:23 hcl guacd[880]: Parameter "wol-send-packet" omitted. 
Using default value of 0.
ago 21 14:37:23 hcl guacd[880]: User 
"@1d8b0eb1-d0de-4fa3-aa40-1d96d2f4707e" joined connection 
"$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" (1 users now present)
ago 21 14:37:23 hcl guacd[880]: Client is using protocol version 
"VERSION_1_5_0"
ago 21 14:37:23 hcl guacd[880]: Loading keymap "base"
ago 21 14:37:23 hcl guacd[880]: Loading keymap "en-us-qwerty"
ago 21 14:37:23 hcl guacd[880]: Support for CLIPRDR (clipboard 
redirection) registered. Awaiting channel connection.
ago 21 14:37:23 hcl guacd[880]: Support for static channel "rdpdr" loaded.
ago 21 14:37:23 hcl guacd[880]: Support for static channel "rdpsnd" loaded.
ago 21 14:37:23 hcl guacd[880]: Local framebuffer format PIXEL_FORMAT_BGRX32
ago 21 14:37:23 hcl guacd[880]: Remote framebuffer format PIXEL_FORMAT_RGB16
ago 21 14:37:24 hcl guacd[880]: BIO_read returned an error: 
error:0A000438:SSL routines::tlsv1 alert internal error
ago 21 14:37:24 hcl guacd[880]: 
transport_read_layer:freerdp_set_last_error_ex 
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
ago 21 14:37:24 hcl guacd[880]: BIO_read returned an error: 
error:0A000438:SSL routines::tlsv1 alert internal error
ago 21 14:37:24 hcl guacd[880]: 
transport_read_layer:freerdp_set_last_error_ex 
ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D]
ago 21 14:37:24 hcl guacd[880]: freerdp_post_connect failed
ago 21 14:37:24 hcl guacd[880]: SVC "rdpdr" disconnected.
ago 21 14:37:24 hcl guacd[880]: SVC "rdpsnd" disconnected.
ago 21 14:37:24 hcl guacd[880]: RDP server closed/refused connection: 
Server refused connection (wrong security type?)
ago 21 14:37:24 hcl guacd[880]: User 
"@1d8b0eb1-d0de-4fa3-aa40-1d96d2f4707e" disconnected (0 users remain)
ago 21 14:37:24 hcl guacd[880]: Last user of connection 
"$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" disconnected
ago 21 14:37:24 hcl guacd[880]: Requesting termination of client...
ago 21 14:37:24 hcl guacd[880]: Client terminated successfully.
ago 21 14:37:24 hcl guacd[865]: Connection 
"$a56b4b78-edd6-451d-978e-5bc35d9ec0fa" removed.
ago 21 14:37:45 hcl guacd[906]: Guacamole proxy daemon (guacd) version 
1.5.3 started
ago 21 14:37:45 hcl guacd[906]: Unable to bind socket to any addresses.

I've checked user's running Guacamole and was not the right one, I've 
changed it editing guacd.service and daemon-reload after that, rebooted 
the system to be sure all was good, but the issue with M$ RDP still exist.

Best regards,

Alessandro

Il 21/08/2023 14:23, Nick Couchman ha scritto:
> On Mon, Aug 21, 2023 at 7:20 AM Alessandro Sironi
> <a....@me.com.invalid> wrote:
>> Hi Nick,
>>
>> here the log:
>>
>> ago 21 13:14:59 hcl guacd[36804]: Unable to read file "/"
>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Unable to read
>> file "/"
>> ago 21 13:14:59 hcl guacd[36804]: RDP server closed/refused connection:
>> Security negotiation failed (wrong security type?)
>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        RDP server
>> closed/refused connection: Security negotiation failed (wrong security
>> type?)
>> ago 21 13:14:59 hcl guacd[36804]: User
>> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        User
>> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
>> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        Last user
>> of connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
>> ago 21 13:14:59 hcl guacd[36804]: Last user of connection
>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
>> ago 21 13:14:59 hcl guacd[22658]: Connection
>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>> ago 21 13:14:59 hcl guacd[22658]: guacd[22658]: INFO: Connection
>> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>>
>> seems to be something related to M$ side because if I RDP into a Linux
>> Box it works w/out issues.
>>
>> I've already tried all type of auth on Guacamole.
> A couple of more things to check:
> * Enable debug logging for guacd and see if there's any more information logged.
> * Make sure that the user running guacd has a valid home directory (it
> exists) and the user has write access to the directory.
>
> -Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


RE: Error when compile guacamole-server-1.5.3

Posted by Mark Li <ma...@baretoes.net>.
Looks like gucd is trying to read "/".  Maybe you renamed the gucd parameter file to "/"?

 Unable to read file "/"

-----Original Message-----
From: Nick Couchman <vn...@apache.org> 
Sent: Monday, August 21, 2023 8:23 AM
To: user@guacamole.apache.org
Subject: Re: Error when compile guacamole-server-1.5.3

On Mon, Aug 21, 2023 at 7:20 AM Alessandro Sironi <a....@me.com.invalid> wrote:
>
> Hi Nick,
>
> here the log:
>
> ago 21 13:14:59 hcl guacd[36804]: Unable to read file "/"
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Unable to read 
> file "/"
> ago 21 13:14:59 hcl guacd[36804]: RDP server closed/refused connection:
> Security negotiation failed (wrong security type?)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        RDP server
> closed/refused connection: Security negotiation failed (wrong security
> type?)
> ago 21 13:14:59 hcl guacd[36804]: User 
> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        User
> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        Last user
> of connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected ago 
> 21 13:14:59 hcl guacd[36804]: Last user of connection 
> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected ago 21 13:14:59 
> hcl guacd[22658]: Connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" 
> removed.
> ago 21 13:14:59 hcl guacd[22658]: guacd[22658]: INFO: Connection 
> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>
> seems to be something related to M$ side because if I RDP into a Linux 
> Box it works w/out issues.
>
> I've already tried all type of auth on Guacamole.

A couple of more things to check:
* Enable debug logging for guacd and see if there's any more information logged.
* Make sure that the user running guacd has a valid home directory (it
exists) and the user has write access to the directory.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org

Re: Error when compile guacamole-server-1.5.3

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Aug 21, 2023 at 7:20 AM Alessandro Sironi
<a....@me.com.invalid> wrote:
>
> Hi Nick,
>
> here the log:
>
> ago 21 13:14:59 hcl guacd[36804]: Unable to read file "/"
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Unable to read
> file "/"
> ago 21 13:14:59 hcl guacd[36804]: RDP server closed/refused connection:
> Security negotiation failed (wrong security type?)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        RDP server
> closed/refused connection: Security negotiation failed (wrong security
> type?)
> ago 21 13:14:59 hcl guacd[36804]: User
> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        User
> "@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
> ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        Last user
> of connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
> ago 21 13:14:59 hcl guacd[36804]: Last user of connection
> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
> ago 21 13:14:59 hcl guacd[22658]: Connection
> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
> ago 21 13:14:59 hcl guacd[22658]: guacd[22658]: INFO: Connection
> "$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
>
> seems to be something related to M$ side because if I RDP into a Linux
> Box it works w/out issues.
>
> I've already tried all type of auth on Guacamole.

A couple of more things to check:
* Enable debug logging for guacd and see if there's any more information logged.
* Make sure that the user running guacd has a valid home directory (it
exists) and the user has write access to the directory.

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi Nick,

here the log:

ago 21 13:14:59 hcl guacd[36804]: Unable to read file "/"
ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO: Unable to read 
file "/"
ago 21 13:14:59 hcl guacd[36804]: RDP server closed/refused connection: 
Security negotiation failed (wrong security type?)
ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        RDP server 
closed/refused connection: Security negotiation failed (wrong security 
type?)
ago 21 13:14:59 hcl guacd[36804]: User 
"@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        User 
"@9af23a70-f3aa-495d-845c-cf70a415da95" disconnected (0 users remain)
ago 21 13:14:59 hcl guacd[36804]: guacd[36804]: INFO:        Last user 
of connection "$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
ago 21 13:14:59 hcl guacd[36804]: Last user of connection 
"$c2a22d37-0313-4291-9234-b7ec2daa54d2" disconnected
ago 21 13:14:59 hcl guacd[22658]: Connection 
"$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.
ago 21 13:14:59 hcl guacd[22658]: guacd[22658]: INFO: Connection 
"$c2a22d37-0313-4291-9234-b7ec2daa54d2" removed.

seems to be something related to M$ side because if I RDP into a Linux 
Box it works w/out issues.

I've already tried all type of auth on Guacamole.

Best regards,

Alessandro

Il 21/08/2023 12:40, Nick Couchman ha scritto:
> On Mon, Aug 21, 2023 at 4:01 AM Alessandro Sironi
> <a....@me.com.invalid> wrote:
>> Hi Lorenzo,
>>
>> sure, I have done!
>>
>> I had tried all possible configuration regards auth section, but
>> nothings works! The stranger thing is that it was working w/out any
>> issue till a month ago (or maybe also later, but I do not have any
>> clue), I have also try to rollback to a previouse working state
>> (snapshots is the way!) but still not working, but only on M$ systems,
>> on Linux RDP works great so I think that RDP in Guacamole works
>> properly, the issue came from M$ side.
>>
>> In my setup I have also username & password set with vars
>> (${GUAC_USERNAME}/${GUAC_PASSWORD}); I have also try with a fresh new VM
>> with W11 PRO but also there I can't login via RDP.
>>
>> I'm still diggin down to try to find the root cause.
> What do the guacd logs show?
>
> -Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Aug 21, 2023 at 4:01 AM Alessandro Sironi
<a....@me.com.invalid> wrote:
>
> Hi Lorenzo,
>
> sure, I have done!
>
> I had tried all possible configuration regards auth section, but
> nothings works! The stranger thing is that it was working w/out any
> issue till a month ago (or maybe also later, but I do not have any
> clue), I have also try to rollback to a previouse working state
> (snapshots is the way!) but still not working, but only on M$ systems,
> on Linux RDP works great so I think that RDP in Guacamole works
> properly, the issue came from M$ side.
>
> In my setup I have also username & password set with vars
> (${GUAC_USERNAME}/${GUAC_PASSWORD}); I have also try with a fresh new VM
> with W11 PRO but also there I can't login via RDP.
>
> I'm still diggin down to try to find the root cause.

What do the guacd logs show?

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi Lorenzo,

sure, I have done!

I had tried all possible configuration regards auth section, but 
nothings works! The stranger thing is that it was working w/out any 
issue till a month ago (or maybe also later, but I do not have any 
clue), I have also try to rollback to a previouse working state 
(snapshots is the way!) but still not working, but only on M$ systems, 
on Linux RDP works great so I think that RDP in Guacamole works 
properly, the issue came from M$ side.

In my setup I have also username & password set with vars 
(${GUAC_USERNAME}/${GUAC_PASSWORD}); I have also try with a fresh new VM 
with W11 PRO but also there I can't login via RDP.

I'm still diggin down to try to find the root cause.

Best regards,

Alessandro

Il 21/08/2023 09:52, MAURIZI Lorenzo ha scritto:
> Hi Alessandro,
> have you tried to force NLA in the Security mode field (Authentication section) of the connection settings?
> I am using Guacamole 1.4.0, it was the only way to get Guacamole connect to the Windows Servers we manage.
> All the other fields of "Authentication" settings are empty, except for the "Ignore server certificate" that is set.
>
> Regards.
> Lorenzo
>
>
>
> -----Messaggio originale-----
> Da: Alessandro Sironi <a....@me.com.INVALID>
> Inviato: venerdì 18 agosto 2023 16:40
> A: user@guacamole.apache.org
> Oggetto: Re: Error when compile guacamole-server-1.5.3
>
> Hi all,
>
> maybe something as changed from Windows side; today I have install a fresh new VM with Windows 11 PRO, not added into domain, but I can't login via RDP, this is strange.
>
> I'm still diggin into that.
>
> Alessandro
>
> Il 16/08/2023 14:11, Alessandro Sironi ha scritto:
>> Hi Ivanmarcus!
>>
>> I've tryed both with "disable authentication" and also leaving blanck
>> username & password fields (before I had ${GUAC_USERNAME} and
>> ${GUAC_PASSWORD}) but nothing changed.
>>
>> What is strange is that it works for about 3 years until now, maybe I
>> have to check if anything is changed Windows side.
>>
>> Alessandro
>>
>> Il 16/08/2023 12:38, Ivanmarcus ha scritto:
>>> With ignore certificate set, and either nothing or 'any' in security
>>> mode, have you tried with 'disable authentication' checked?
>>>
>>> Also, when fault-finding, I suggest you don't have anything else set,
>>> at least initially, as I've sometimes found that can adversely affect
>>> the outcome. I include user/pass etc with this caveat, as well as all
>>> the other settings.
>>>
>>> On 16/08/23 20:32, Alessandro Sironi wrote:
>>>> Hi,
>>>>
>>>> I've digged more deeply and I found that RDP is not working only on
>>>> Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue
>>>> on both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
>>>>
>>>> I've to debug why it stop working on Windows, from LOG seems to be
>>>> something related to security protocol, but I have selected "Any"
>>>> and checked "Ignor server certificate" as usual, I don't know why it
>>>> stop working.
>>>>
>>>> Alessandro
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>>> For additional commands, e-mail: user-help@guacamole.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


R: Error when compile guacamole-server-1.5.3

Posted by MAURIZI Lorenzo <l....@comune.jesi.an.it>.
Hi Alessandro,
have you tried to force NLA in the Security mode field (Authentication section) of the connection settings?
I am using Guacamole 1.4.0, it was the only way to get Guacamole connect to the Windows Servers we manage.
All the other fields of "Authentication" settings are empty, except for the "Ignore server certificate" that is set.

Regards.
Lorenzo



-----Messaggio originale-----
Da: Alessandro Sironi <a....@me.com.INVALID> 
Inviato: venerdì 18 agosto 2023 16:40
A: user@guacamole.apache.org
Oggetto: Re: Error when compile guacamole-server-1.5.3

Hi all,

maybe something as changed from Windows side; today I have install a fresh new VM with Windows 11 PRO, not added into domain, but I can't login via RDP, this is strange.

I'm still diggin into that.

Alessandro

Il 16/08/2023 14:11, Alessandro Sironi ha scritto:
> Hi Ivanmarcus!
>
> I've tryed both with "disable authentication" and also leaving blanck 
> username & password fields (before I had ${GUAC_USERNAME} and
> ${GUAC_PASSWORD}) but nothing changed.
>
> What is strange is that it works for about 3 years until now, maybe I 
> have to check if anything is changed Windows side.
>
> Alessandro
>
> Il 16/08/2023 12:38, Ivanmarcus ha scritto:
>> With ignore certificate set, and either nothing or 'any' in security 
>> mode, have you tried with 'disable authentication' checked?
>>
>> Also, when fault-finding, I suggest you don't have anything else set, 
>> at least initially, as I've sometimes found that can adversely affect 
>> the outcome. I include user/pass etc with this caveat, as well as all 
>> the other settings.
>>
>> On 16/08/23 20:32, Alessandro Sironi wrote:
>>> Hi,
>>>
>>> I've digged more deeply and I found that RDP is not working only on 
>>> Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue 
>>> on both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
>>>
>>> I've to debug why it stop working on Windows, from LOG seems to be 
>>> something related to security protocol, but I have selected "Any"
>>> and checked "Ignor server certificate" as usual, I don't know why it 
>>> stop working.
>>>
>>> Alessandro
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi all,

maybe something as changed from Windows side; today I have install a 
fresh new VM with Windows 11 PRO, not added into domain, but I can't 
login via RDP, this is strange.

I'm still diggin into that.

Alessandro

Il 16/08/2023 14:11, Alessandro Sironi ha scritto:
> Hi Ivanmarcus!
>
> I've tryed both with "disable authentication" and also leaving blanck 
> username & password fields (before I had ${GUAC_USERNAME} and 
> ${GUAC_PASSWORD}) but nothing changed.
>
> What is strange is that it works for about 3 years until now, maybe I 
> have to check if anything is changed Windows side.
>
> Alessandro
>
> Il 16/08/2023 12:38, Ivanmarcus ha scritto:
>> With ignore certificate set, and either nothing or 'any' in security 
>> mode, have you tried with 'disable authentication' checked?
>>
>> Also, when fault-finding, I suggest you don't have anything else set, 
>> at least initially, as I've sometimes found that can adversely affect 
>> the outcome. I include user/pass etc with this caveat, as well as all 
>> the other settings.
>>
>> On 16/08/23 20:32, Alessandro Sironi wrote:
>>> Hi,
>>>
>>> I've digged more deeply and I found that RDP is not working only on 
>>> Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue 
>>> on both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
>>>
>>> I've to debug why it stop working on Windows, from LOG seems to be 
>>> something related to security protocol, but I have selected "Any" 
>>> and checked "Ignor server certificate" as usual, I don't know why it 
>>> stop working.
>>>
>>> Alessandro
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi Ivanmarcus!

I've tryed both with "disable authentication" and also leaving blanck 
username & password fields (before I had ${GUAC_USERNAME} and 
${GUAC_PASSWORD}) but nothing changed.

What is strange is that it works for about 3 years until now, maybe I 
have to check if anything is changed Windows side.

Alessandro

Il 16/08/2023 12:38, Ivanmarcus ha scritto:
> With ignore certificate set, and either nothing or 'any' in security 
> mode, have you tried with 'disable authentication' checked?
>
> Also, when fault-finding, I suggest you don't have anything else set, 
> at least initially, as I've sometimes found that can adversely affect 
> the outcome. I include user/pass etc with this caveat, as well as all 
> the other settings.
>
> On 16/08/23 20:32, Alessandro Sironi wrote:
>> Hi,
>>
>> I've digged more deeply and I found that RDP is not working only on 
>> Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue 
>> on both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
>>
>> I've to debug why it stop working on Windows, from LOG seems to be 
>> something related to security protocol, but I have selected "Any" and 
>> checked "Ignor server certificate" as usual, I don't know why it stop 
>> working.
>>
>> Alessandro
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Aug 16, 2023 at 6:39 AM Ivanmarcus <iv...@yahoo.com.invalid> wrote:
>
> With ignore certificate set, and either nothing or 'any' in security
> mode, have you tried with 'disable authentication' checked?
>
> Also, when fault-finding, I suggest you don't have anything else set, at
> least initially, as I've sometimes found that can adversely affect the
> outcome. I include user/pass etc with this caveat, as well as all the
> other settings.
>
> On 16/08/23 20:32, Alessandro Sironi wrote:
> > Hi,
> >
> > I've digged more deeply and I found that RDP is not working only on
> > Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue on
> > both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
> >
> > I've to debug why it stop working on Windows, from LOG seems to be
> > something related to security protocol, but I have selected "Any" and
> > checked "Ignor server certificate" as usual, I don't know why it stop
> > working.
> >

Can you post the logs from guacd when the RDP connection fails, and
bump the log level for guacd up to debug?

https://guacamole.apache.org/doc/gug/configuring-guacamole.html#configuring-guacd

-Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Ivanmarcus <iv...@yahoo.com.INVALID>.
With ignore certificate set, and either nothing or 'any' in security 
mode, have you tried with 'disable authentication' checked?

Also, when fault-finding, I suggest you don't have anything else set, at 
least initially, as I've sometimes found that can adversely affect the 
outcome. I include user/pass etc with this caveat, as well as all the 
other settings.

On 16/08/23 20:32, Alessandro Sironi wrote:
> Hi,
> 
> I've digged more deeply and I found that RDP is not working only on 
> Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue on 
> both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.
> 
> I've to debug why it stop working on Windows, from LOG seems to be 
> something related to security protocol, but I have selected "Any" and 
> checked "Ignor server certificate" as usual, I don't know why it stop 
> working.
> 
> Alessandro

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi,

I've digged more deeply and I found that RDP is not working only on 
Windows OS, if I RDP on Linux boxes (XRDP) it works w/out any issue on 
both Debian 11/Guacamole 1.5.2 and Debian 12/Guacamole 1.5.3.

I've to debug why it stop working on Windows, from LOG seems to be 
something related to security protocol, but I have selected "Any" and 
checked "Ignor server certificate" as usual, I don't know why it stop 
working.

Alessandro

Il 16/08/2023 09:55, Alessandro Sironi ha scritto:
>
> Hi, anyone have a hint?
>
> I don't know how to solve this, I had try also to rollback to the 
> previouse state, before upgrade to Debian 12 & Guacamole 1.5.3 (reload 
> the snapshot taken before upgrade) but I notice that also there RDP 
> wont connect (so is not something related to Debian 12 and/or 
> Guacamole 1.5.3), someone can tell me where to search so I can dig 
> more deeper?
>
> Thanks,
>
> Alessandro
>
> Il 14/08/2023 14:23, Alessandro Sironi ha scritto:
>>
>> Hi Nick,
>>
>> it's a win, now it compile and ATM is up and running!
>>
>> But I can't RDPing into any Server (Windows Server with RDP running, 
>> tested using Windows Client).
>>
>> Here qhat I have in catalina.out:
>>
>> [2023-08-14 14:19:52] [info] 14:19:52.453 [http-nio-8080-exec-10] 
>> INFO o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" 
>> connected to connection "3".
>> [2023-08-14 14:19:52] [info] Exception in thread "Thread-12" 
>> java.lang.IllegalStateException: Message will not be sent because the 
>> WebSocket session has been closed
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:442)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
>> [2023-08-14 14:19:52] [info] #011at 
>> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)
>> [2023-08-14 14:19:52] [info] 14:19:52.806 [http-nio-8080-exec-1] 
>> INFO  o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" 
>> disconnected from connection "3". Duration: 353 milliseconds
>>
>> I have all green during ./config:
>>
>> ------------------------------------------------
>> guacamole-server version 1.5.3
>> ------------------------------------------------
>>
>>    Library status:
>>
>>      freerdp2 ............ yes
>>      pango ............... yes
>>      libavcodec .......... yes
>>      libavformat.......... yes
>>      libavutil ........... yes
>>      libssh2 ............. yes
>>      libssl .............. yes
>>      libswscale .......... yes
>>      libtelnet ........... yes
>>      libVNCServer ........ yes
>>      libvorbis ........... yes
>>      libpulse ............ yes
>>      libwebsockets ....... yes
>>      libwebp ............. yes
>>      wsock32 ............. no
>>
>>    Protocol support:
>>
>>       Kubernetes .... yes
>>       RDP ........... yes
>>       SSH ........... yes
>>       Telnet ........ yes
>>       VNC ........... yes
>>
>>    Services / tools:
>>
>>       guacd ...... yes
>>       guacenc .... yes
>>       guaclog .... yes
>>
>>    FreeRDP plugins: /usr/lib/x86_64-linux-gnu/freerdp2
>>    Init scripts: no
>>    Systemd units: /etc/systemd/system
>>
>> Type "make" to compile guacamole-server.
>>
>> SSH works w/out any issues, I don't know about VNC and Telnet because 
>> I do not have any connections to check.
>>
>> Any hint?
>>
>> Thanks for your support,
>>
>> Alessandro
>>
>> Il 14/08/2023 14:10, Adrian Owen ha scritto:
>>>
>>> Hi,  Please be careful with unsupported repo components, you may 
>>> unknowingly hide security patches.
>>>
>>> Waiting for Guacamole Debian 12 support is safest option.   Adrian
>>>
>>> *From:*Yves Auffret <ya...@gmail.com>
>>> *Sent:* 14 August 2023 13:00
>>> *To:* user@guacamole.apache.org
>>> *Subject:* Re: Error when compile guacamole-server-1.5.3
>>>
>>> Hi,
>>>
>>> I agree. Another solution is to keep Debian 12 and downgrade Tomcat 
>>> from 10 to 9 by using Debian 11 repo for Tomcat.
>>>
>>> Regards,
>>>
>>> Le lun. 14 août 2023, 13:54, Adrian Owen <ad...@eesm.com> a 
>>> écrit :
>>>
>>>     Debian 12 runs tomcat 10 that’s not supported by Guacamole
>>>     https://issues.apache.org/jira/browse/GUACAMOLE-1325
>>>
>>>     Debian 11 is okay and should also fix your build issues.
>>>
>>>     Adrian
>>>
>>>     -----Original Message-----
>>>     From: Alessandro Sironi <a....@me.com.INVALID>
>>>     Sent: 14 August 2023 11:54
>>>     To: user@guacamole.apache.org
>>>     Subject: Error when compile guacamole-server-1.5.3
>>>
>>>     Hello all,
>>>
>>>     I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3
>>>     but I got this error during make:
>>>
>>>     make[2]: uscita dalla directory
>>>     «/tmp/guacamole-server-1.5.3/src/guacd»
>>>     Making all in src/guacenc
>>>     make[2]: ingresso nella directory
>>>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>>>        CC       guacenc-video.o
>>>     video.c: In function ‘guacenc_video_alloc’:
>>>     video.c:63:22: error: assignment discards ‘const’ qualifier from
>>>     pointer target type [-Werror=discarded-qualifiers]
>>>         63 |     container_format = container_format_context->oformat;
>>>            |                      ^
>>>     video.c:66:22: error: initialization discards ‘const’ qualifier
>>>     from pointer target type [-Werror=discarded-qualifiers]
>>>         66 |     AVCodec* codec =
>>>     avcodec_find_encoder_by_name(codec_name);
>>>            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>     cc1: all warnings being treated as errors
>>>     make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
>>>     make[2]: uscita dalla directory
>>>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>>>     make[1]: *** [Makefile:544: all-recursive] Errore 1
>>>     make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
>>>     make: *** [Makefile:464: all] Errore 2
>>>
>>>     it's a standalone installation on a dedicated VM Debian 12, I've
>>>     upgraded right now from D11 to D12 and now I'm going to upgrade
>>>     Guacamole too, this is not my first guacamole 1.5.3 on a Debian
>>>     12, but this is the first time I see this error.
>>>
>>>     Can someone help me please?
>>>
>>>     Thanks,
>>>
>>>     Alessandro
>>>
>>>
>>>     ---------------------------------------------------------------------
>>>     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>>>     For additional commands, e-mail: user-help@guacamole.apache.org
>>>

Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi, anyone have a hint?

I don't know how to solve this, I had try also to rollback to the 
previouse state, before upgrade to Debian 12 & Guacamole 1.5.3 (reload 
the snapshot taken before upgrade) but I notice that also there RDP wont 
connect (so is not something related to Debian 12 and/or Guacamole 
1.5.3), someone can tell me where to search so I can dig more deeper?

Thanks,

Alessandro

Il 14/08/2023 14:23, Alessandro Sironi ha scritto:
>
> Hi Nick,
>
> it's a win, now it compile and ATM is up and running!
>
> But I can't RDPing into any Server (Windows Server with RDP running, 
> tested using Windows Client).
>
> Here qhat I have in catalina.out:
>
> [2023-08-14 14:19:52] [info] 14:19:52.453 [http-nio-8080-exec-10] 
> INFO  o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" 
> connected to connection "3".
> [2023-08-14 14:19:52] [info] Exception in thread "Thread-12" 
> java.lang.IllegalStateException: Message will not be sent because the 
> WebSocket session has been closed
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:442)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
> [2023-08-14 14:19:52] [info] #011at 
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)
> [2023-08-14 14:19:52] [info] 14:19:52.806 [http-nio-8080-exec-1] INFO  
> o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" 
> disconnected from connection "3". Duration: 353 milliseconds
>
> I have all green during ./config:
>
> ------------------------------------------------
> guacamole-server version 1.5.3
> ------------------------------------------------
>
>    Library status:
>
>      freerdp2 ............ yes
>      pango ............... yes
>      libavcodec .......... yes
>      libavformat.......... yes
>      libavutil ........... yes
>      libssh2 ............. yes
>      libssl .............. yes
>      libswscale .......... yes
>      libtelnet ........... yes
>      libVNCServer ........ yes
>      libvorbis ........... yes
>      libpulse ............ yes
>      libwebsockets ....... yes
>      libwebp ............. yes
>      wsock32 ............. no
>
>    Protocol support:
>
>       Kubernetes .... yes
>       RDP ........... yes
>       SSH ........... yes
>       Telnet ........ yes
>       VNC ........... yes
>
>    Services / tools:
>
>       guacd ...... yes
>       guacenc .... yes
>       guaclog .... yes
>
>    FreeRDP plugins: /usr/lib/x86_64-linux-gnu/freerdp2
>    Init scripts: no
>    Systemd units: /etc/systemd/system
>
> Type "make" to compile guacamole-server.
>
> SSH works w/out any issues, I don't know about VNC and Telnet because 
> I do not have any connections to check.
>
> Any hint?
>
> Thanks for your support,
>
> Alessandro
>
> Il 14/08/2023 14:10, Adrian Owen ha scritto:
>>
>> Hi,  Please be careful with unsupported repo components, you may 
>> unknowingly hide security patches.
>>
>> Waiting for Guacamole Debian 12 support is safest option.   Adrian
>>
>> *From:*Yves Auffret <ya...@gmail.com>
>> *Sent:* 14 August 2023 13:00
>> *To:* user@guacamole.apache.org
>> *Subject:* Re: Error when compile guacamole-server-1.5.3
>>
>> Hi,
>>
>> I agree. Another solution is to keep Debian 12 and downgrade Tomcat 
>> from 10 to 9 by using Debian 11 repo for Tomcat.
>>
>> Regards,
>>
>> Le lun. 14 août 2023, 13:54, Adrian Owen <ad...@eesm.com> a écrit :
>>
>>     Debian 12 runs tomcat 10 that’s not supported by Guacamole
>>     https://issues.apache.org/jira/browse/GUACAMOLE-1325
>>
>>     Debian 11 is okay and should also fix your build issues.
>>
>>     Adrian
>>
>>     -----Original Message-----
>>     From: Alessandro Sironi <a....@me.com.INVALID>
>>     Sent: 14 August 2023 11:54
>>     To: user@guacamole.apache.org
>>     Subject: Error when compile guacamole-server-1.5.3
>>
>>     Hello all,
>>
>>     I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but
>>     I got this error during make:
>>
>>     make[2]: uscita dalla directory
>>     «/tmp/guacamole-server-1.5.3/src/guacd»
>>     Making all in src/guacenc
>>     make[2]: ingresso nella directory
>>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>>        CC       guacenc-video.o
>>     video.c: In function ‘guacenc_video_alloc’:
>>     video.c:63:22: error: assignment discards ‘const’ qualifier from
>>     pointer target type [-Werror=discarded-qualifiers]
>>         63 |     container_format = container_format_context->oformat;
>>            |                      ^
>>     video.c:66:22: error: initialization discards ‘const’ qualifier
>>     from pointer target type [-Werror=discarded-qualifiers]
>>         66 |     AVCodec* codec =
>>     avcodec_find_encoder_by_name(codec_name);
>>            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>     cc1: all warnings being treated as errors
>>     make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
>>     make[2]: uscita dalla directory
>>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>>     make[1]: *** [Makefile:544: all-recursive] Errore 1
>>     make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
>>     make: *** [Makefile:464: all] Errore 2
>>
>>     it's a standalone installation on a dedicated VM Debian 12, I've
>>     upgraded right now from D11 to D12 and now I'm going to upgrade
>>     Guacamole too, this is not my first guacamole 1.5.3 on a Debian
>>     12, but this is the first time I see this error.
>>
>>     Can someone help me please?
>>
>>     Thanks,
>>
>>     Alessandro
>>
>>
>>     ---------------------------------------------------------------------
>>     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>>     For additional commands, e-mail: user-help@guacamole.apache.org
>>

Re: Error when compile guacamole-server-1.5.3

Posted by Alessandro Sironi <a....@me.com.INVALID>.
Hi Nick,

it's a win, now it compile and ATM is up and running!

But I can't RDPing into any Server (Windows Server with RDP running, 
tested using Windows Client).

Here qhat I have in catalina.out:

[2023-08-14 14:19:52] [info] 14:19:52.453 [http-nio-8080-exec-10] INFO  
o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" connected 
to connection "3".
[2023-08-14 14:19:52] [info] Exception in thread "Thread-12" 
java.lang.IllegalStateException: Message will not be sent because the 
WebSocket session has been closed
[2023-08-14 14:19:52] [info] #011at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:442)
[2023-08-14 14:19:52] [info] #011at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
[2023-08-14 14:19:52] [info] #011at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
[2023-08-14 14:19:52] [info] #011at 
org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
[2023-08-14 14:19:52] [info] #011at 
org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
[2023-08-14 14:19:52] [info] #011at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
[2023-08-14 14:19:52] [info] #011at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
[2023-08-14 14:19:52] [info] #011at 
org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)
[2023-08-14 14:19:52] [info] 14:19:52.806 [http-nio-8080-exec-1] INFO  
o.a.g.tunnel.TunnelRequestService - User "alessandro.sironi" 
disconnected from connection "3". Duration: 353 milliseconds

I have all green during ./config:

------------------------------------------------
guacamole-server version 1.5.3
------------------------------------------------

    Library status:

      freerdp2 ............ yes
      pango ............... yes
      libavcodec .......... yes
      libavformat.......... yes
      libavutil ........... yes
      libssh2 ............. yes
      libssl .............. yes
      libswscale .......... yes
      libtelnet ........... yes
      libVNCServer ........ yes
      libvorbis ........... yes
      libpulse ............ yes
      libwebsockets ....... yes
      libwebp ............. yes
      wsock32 ............. no

    Protocol support:

       Kubernetes .... yes
       RDP ........... yes
       SSH ........... yes
       Telnet ........ yes
       VNC ........... yes

    Services / tools:

       guacd ...... yes
       guacenc .... yes
       guaclog .... yes

    FreeRDP plugins: /usr/lib/x86_64-linux-gnu/freerdp2
    Init scripts: no
    Systemd units: /etc/systemd/system

Type "make" to compile guacamole-server.

SSH works w/out any issues, I don't know about VNC and Telnet because I 
do not have any connections to check.

Any hint?

Thanks for your support,

Alessandro

Il 14/08/2023 14:10, Adrian Owen ha scritto:
>
> Hi,  Please be careful with unsupported repo components, you may 
> unknowingly hide security patches.
>
> Waiting for Guacamole Debian 12 support is safest option.   Adrian
>
> *From:*Yves Auffret <ya...@gmail.com>
> *Sent:* 14 August 2023 13:00
> *To:* user@guacamole.apache.org
> *Subject:* Re: Error when compile guacamole-server-1.5.3
>
> Hi,
>
> I agree. Another solution is to keep Debian 12 and downgrade Tomcat 
> from 10 to 9 by using Debian 11 repo for Tomcat.
>
> Regards,
>
> Le lun. 14 août 2023, 13:54, Adrian Owen <ad...@eesm.com> a écrit :
>
>     Debian 12 runs tomcat 10 that’s not supported by Guacamole
>     https://issues.apache.org/jira/browse/GUACAMOLE-1325
>
>     Debian 11 is okay and should also fix your build issues.
>
>     Adrian
>
>     -----Original Message-----
>     From: Alessandro Sironi <a....@me.com.INVALID>
>     Sent: 14 August 2023 11:54
>     To: user@guacamole.apache.org
>     Subject: Error when compile guacamole-server-1.5.3
>
>     Hello all,
>
>     I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but
>     I got this error during make:
>
>     make[2]: uscita dalla directory
>     «/tmp/guacamole-server-1.5.3/src/guacd»
>     Making all in src/guacenc
>     make[2]: ingresso nella directory
>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>        CC       guacenc-video.o
>     video.c: In function ‘guacenc_video_alloc’:
>     video.c:63:22: error: assignment discards ‘const’ qualifier from
>     pointer target type [-Werror=discarded-qualifiers]
>         63 |     container_format = container_format_context->oformat;
>            |                      ^
>     video.c:66:22: error: initialization discards ‘const’ qualifier
>     from pointer target type [-Werror=discarded-qualifiers]
>         66 |     AVCodec* codec =
>     avcodec_find_encoder_by_name(codec_name);
>            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     cc1: all warnings being treated as errors
>     make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
>     make[2]: uscita dalla directory
>     «/tmp/guacamole-server-1.5.3/src/guacenc»
>     make[1]: *** [Makefile:544: all-recursive] Errore 1
>     make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
>     make: *** [Makefile:464: all] Errore 2
>
>     it's a standalone installation on a dedicated VM Debian 12, I've
>     upgraded right now from D11 to D12 and now I'm going to upgrade
>     Guacamole too, this is not my first guacamole 1.5.3 on a Debian
>     12, but this is the first time I see this error.
>
>     Can someone help me please?
>
>     Thanks,
>
>     Alessandro
>
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>     For additional commands, e-mail: user-help@guacamole.apache.org
>

RE: Error when compile guacamole-server-1.5.3

Posted by Adrian Owen <ad...@eesm.com>.
Hi,  Please be careful with unsupported repo components, you may unknowingly hide security patches.

Waiting for Guacamole Debian 12 support is safest option.   Adrian

From: Yves Auffret <ya...@gmail.com>
Sent: 14 August 2023 13:00
To: user@guacamole.apache.org
Subject: Re: Error when compile guacamole-server-1.5.3

Hi,

I agree. Another solution is to keep Debian 12 and downgrade Tomcat from 10 to 9 by using Debian 11 repo for Tomcat.

Regards,
Le lun. 14 août 2023, 13:54, Adrian Owen <ad...@eesm.com>> a écrit :
Debian 12 runs tomcat 10 that’s not supported by Guacamole https://issues.apache.org/jira/browse/GUACAMOLE-1325

Debian 11 is okay and should also fix your build issues.

Adrian

-----Original Message-----
From: Alessandro Sironi <a....@me.com.INVALID>>
Sent: 14 August 2023 11:54
To: user@guacamole.apache.org<ma...@guacamole.apache.org>
Subject: Error when compile guacamole-server-1.5.3

Hello all,

I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got this error during make:

make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
Making all in src/guacenc
make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
   CC       guacenc-video.o
video.c: In function ‘guacenc_video_alloc’:
video.c:63:22: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
    63 |     container_format = container_format_context->oformat;
       |                      ^
video.c:66:22: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
    66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
make[1]: *** [Makefile:544: all-recursive] Errore 1
make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
make: *** [Makefile:464: all] Errore 2

it's a standalone installation on a dedicated VM Debian 12, I've upgraded right now from D11 to D12 and now I'm going to upgrade Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but this is the first time I see this error.

Can someone help me please?

Thanks,

Alessandro


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org<ma...@guacamole.apache.org>
For additional commands, e-mail: user-help@guacamole.apache.org<ma...@guacamole.apache.org>

Re: Error when compile guacamole-server-1.5.3

Posted by Yves Auffret <ya...@gmail.com>.
Hi,

I agree. Another solution is to keep Debian 12 and downgrade Tomcat from 10
to 9 by using Debian 11 repo for Tomcat.

Regards,

Le lun. 14 août 2023, 13:54, Adrian Owen <ad...@eesm.com> a écrit :

> Debian 12 runs tomcat 10 that’s not supported by Guacamole
> https://issues.apache.org/jira/browse/GUACAMOLE-1325
>
> Debian 11 is okay and should also fix your build issues.
>
> Adrian
>
> -----Original Message-----
> From: Alessandro Sironi <a....@me.com.INVALID>
> Sent: 14 August 2023 11:54
> To: user@guacamole.apache.org
> Subject: Error when compile guacamole-server-1.5.3
>
> Hello all,
>
> I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got
> this error during make:
>
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
> Making all in src/guacenc
> make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
>    CC       guacenc-video.o
> video.c: In function ‘guacenc_video_alloc’:
> video.c:63:22: error: assignment discards ‘const’ qualifier from pointer
> target type [-Werror=discarded-qualifiers]
>     63 |     container_format = container_format_context->oformat;
>        |                      ^
> video.c:66:22: error: initialization discards ‘const’ qualifier from
> pointer target type [-Werror=discarded-qualifiers]
>     66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
>        |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
> make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
> make[1]: *** [Makefile:544: all-recursive] Errore 1
> make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
> make: *** [Makefile:464: all] Errore 2
>
> it's a standalone installation on a dedicated VM Debian 12, I've upgraded
> right now from D11 to D12 and now I'm going to upgrade Guacamole too, this
> is not my first guacamole 1.5.3 on a Debian 12, but this is the first time
> I see this error.
>
> Can someone help me please?
>
> Thanks,
>
> Alessandro
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>

RE: Error when compile guacamole-server-1.5.3

Posted by Adrian Owen <ad...@eesm.com>.
Debian 12 runs tomcat 10 that’s not supported by Guacamole https://issues.apache.org/jira/browse/GUACAMOLE-1325

Debian 11 is okay and should also fix your build issues.

Adrian

-----Original Message-----
From: Alessandro Sironi <a....@me.com.INVALID> 
Sent: 14 August 2023 11:54
To: user@guacamole.apache.org
Subject: Error when compile guacamole-server-1.5.3

Hello all,

I'm trying to upgrade from Guacamole 1.5.2 to Guacamole 1.5.3 but I got this error during make:

make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacd»
Making all in src/guacenc
make[2]: ingresso nella directory «/tmp/guacamole-server-1.5.3/src/guacenc»
   CC       guacenc-video.o
video.c: In function ‘guacenc_video_alloc’:
video.c:63:22: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
    63 |     container_format = container_format_context->oformat;
       |                      ^
video.c:66:22: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
    66 |     AVCodec* codec = avcodec_find_encoder_by_name(codec_name);
       |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:1126: guacenc-video.o] Errore 1
make[2]: uscita dalla directory «/tmp/guacamole-server-1.5.3/src/guacenc»
make[1]: *** [Makefile:544: all-recursive] Errore 1
make[1]: uscita dalla directory «/tmp/guacamole-server-1.5.3»
make: *** [Makefile:464: all] Errore 2

it's a standalone installation on a dedicated VM Debian 12, I've upgraded right now from D11 to D12 and now I'm going to upgrade Guacamole too, this is not my first guacamole 1.5.3 on a Debian 12, but this is the first time I see this error.

Can someone help me please?

Thanks,

Alessandro


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org