You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by "Jantz, Andreas" <an...@stella-packaging.de> on 2021/04/01 15:15:52 UTC

RDP: no connection possible if drive mapping / printing is enabled on guacamole 1.3

I have two DEBIAN 10 based native setups running. One is based on Guacamole 1.2 and the other one based on Guacamole 1.3.

Both have followed the manual
http://guacamole.apache.org/doc/gug/installing-guacamole.html

We use MS LDAP and MySQL user authentication.

One setup is the 1.2 version which runs perfectly during our testing with RDP connections (Windows Sever 2008r2 and Windows server 2012R2 with RDP security)
Drive mapping and / or printing redirection works as expected.

The setup with version 1.3 works too, but no drive mapping nor printing is possible. The connection will be refused immediately. (You have been disconnected)

The only difference in the log file is this line in \var\log\damon.log compared to the 1.2 setup.

Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in tcache 2

...
Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "base"
Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading keymap "base"
Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading keymap "de-de-qwertz"
Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "de-de-qwertz"
Apr  1 17:01:57 IT1RDPGW2 guacd[17775]: Connected to RDPDR 1.12 as client 0x0004
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Connected to RDPDR 1.12 as client 0x0004
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in tcache 2
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: Connection "$7ecda6f5-53ab-4d36-a2e3-8fe4c475a452" removed.
...

Anybody with an idea how to find the root cause? 

Best regards,
Andreas


---------------------------------------------------------------------
Von / From: STELLA Kunststofftechnik GmbH 
Firmensitz / Registered Office: H.J.-M�ller-Strasse 4, 65343 Eltville
Deutschland / Germany 
Registergericht / Registration Office: Wiesbaden, HR B 17.514 
Gesch�ftsf�hrer / Managing Director: Heino Deussen
---------------------------------------------------------------------



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


AW: RDP: no connection possible if drive mapping / printing is enabled on guacamole 1.3

Posted by "Jantz, Andreas" <an...@stella-packaging.de>.
I could now confirm that my DEBIAN 10 based native setup with MS LDAP and MySQL user authentication will work including printing and drive mapping, if


·       libfreerdp2-2 from buster-backports is installed
(as explained also here: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Version-1-2-and-1-3-tp10320p10330.html)

·       glyph-caching is disabled (also mentioned more than once in the mailing list, and in the docs.)


What is currently specific to our environment:


·       our logon-scripts on Windows 2008r2 Terminalservers are not fired, if no known client-name is set in the connection setting
(if kept empty "Guacamole RDP" is mentioned and our logon script needs known "clientname")

BR Andreas

PS: A Docker-compose setup on DEBIAN 10 was cursory tested with the official Docker image and has confirmed that 1.3 works as expected


Von: Mike Jumper [mailto:mike.jumper@glyptodon.com]
Gesendet: Donnerstag, 1. April 2021 20:10
An: user@guacamole.apache.org
Betreff: Re: RDP: no connection possible if drive mapping / printing is enabled on guacamole 1.3


Warnung: Diese Nachricht stammt von außerhalb dieser Organisation. Seien Sie vorsichtig beim Folgen von Links und Öffnen von Anhängen.
On Thu, Apr 1, 2021 at 8:16 AM Jantz, Andreas <an...@stella-packaging.de>> wrote:
I have two DEBIAN 10 based native setups running. One is based on Guacamole 1.2 and the other one based on Guacamole 1.3.

Both have followed the manual
http://guacamole.apache.org/doc/gug/installing-guacamole.html

We use MS LDAP and MySQL user authentication.

One setup is the 1.2 version which runs perfectly during our testing with RDP connections (Windows Sever 2008r2 and Windows server 2012R2 with RDP security)
Drive mapping and / or printing redirection works as expected.

The setup with version 1.3 works too, but no drive mapping nor printing is possible. The connection will be refused immediately. (You have been disconnected)

The only difference in the log file is this line in \var\log\damon.log compared to the 1.2 setup.

Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in tcache 2

...
Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "base"
Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading keymap "base"
Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading keymap "de-de-qwertz"
Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "de-de-qwertz"
Apr  1 17:01:57 IT1RDPGW2 guacd[17775]: Connected to RDPDR 1.12 as client 0x0004
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Connected to RDPDR 1.12 as client 0x0004
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in tcache 2
Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: Connection "$7ecda6f5-53ab-4d36-a2e3-8fe4c475a452" removed.
...

Anybody with an idea how to find the root cause?

The most likely causes of what you're seeing are:

  *   A mismatch between the version of FreeRDP that guacamole-server was built against and the version of FreeRDP that is installed (the free() behavior of FreeRDP can only be detected at build time and may vary between FreeRDP releases).
  *   Misdetected free() behavior (see https://issues.apache.org/jira/browse/GUACAMOLE-1259)
I would recommend either rebuilding guacamole-server, building from the current git master (which has addressed GUACAMOLE-1259), or using the Docker images.

Michael Jumper
CEO, Lead Developer
Glyptodon Inc<https://enterprise.glyptodon.com/>.

Re: RDP: no connection possible if drive mapping / printing is enabled on guacamole 1.3

Posted by Mike Jumper <mi...@glyptodon.com>.
On Thu, Apr 1, 2021 at 8:16 AM Jantz, Andreas <
andreas.jantz@stella-packaging.de> wrote:

> I have two DEBIAN 10 based native setups running. One is based on
> Guacamole 1.2 and the other one based on Guacamole 1.3.
>
> Both have followed the manual
> http://guacamole.apache.org/doc/gug/installing-guacamole.html
>
> We use MS LDAP and MySQL user authentication.
>
> One setup is the 1.2 version which runs perfectly during our testing with
> RDP connections (Windows Sever 2008r2 and Windows server 2012R2 with RDP
> security)
> Drive mapping and / or printing redirection works as expected.
>
> The setup with version 1.3 works too, but no drive mapping nor printing is
> possible. The connection will be refused immediately. (You have been
> disconnected)
>
> The only difference in the log file is this line in \var\log\damon.log
> compared to the 1.2 setup.
>
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in
> tcache 2
>
> ...
> Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "base"
> Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading
> keymap "base"
> Apr  1 17:01:56 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Loading
> keymap "de-de-qwertz"
> Apr  1 17:01:56 IT1RDPGW2 guacd[17775]: Loading keymap "de-de-qwertz"
> Apr  1 17:01:57 IT1RDPGW2 guacd[17775]: Connected to RDPDR 1.12 as client
> 0x0004
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: guacd[17775]: INFO:#011Connected
> to RDPDR 1.12 as client 0x0004
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: free(): double free detected in
> tcache 2
> Apr  1 17:01:57 IT1RDPGW2 guacd[12000]: Connection
> "$7ecda6f5-53ab-4d36-a2e3-8fe4c475a452" removed.
> ...
>
> Anybody with an idea how to find the root cause?
>

The most likely causes of what you're seeing are:

   - A mismatch between the version of FreeRDP that guacamole-server was
   built against and the version of FreeRDP that is installed (the free()
   behavior of FreeRDP can only be detected at build time and may vary between
   FreeRDP releases).
   - Misdetected free() behavior (see
   https://issues.apache.org/jira/browse/GUACAMOLE-1259)

I would recommend either rebuilding guacamole-server, building from the
current git master (which has addressed GUACAMOLE-1259), or using the
Docker images.

Michael Jumper
CEO, Lead Developer
Glyptodon Inc <https://enterprise.glyptodon.com/>.