Well, I've solved the issue. It was an apache problem... I fat-fingered the 
<Location> directives.

    <Location />
       [snip]
    </Location>

    <Location /websocket-tunnel>
      [snip]
    </Location>

Remarkably, Guacamole worked fine, except for uploads! I adjusted the 
directives:

    <Location /guacamole/>
      [snip]
    </Location>

    <Location /guacamole/websocket-tunnel>
      [snip]
    </Location>

Reloaded apache and everything is working properly.

Now to try and make some dangerous OSs print! :P



From: Justin VanAbrahams <jvanabrah...@abico.com>
Sent: Monday, March 27, 2023 11:39 AM
To: user@guacamole.apache.org
Subject: RE: Failed to load "guac-common-svc"

This is embarrassing, but I just found a clue...

Bypassing the apache2 reverse proxy cures this issue. Any guesses on what 
config in apache2 might fix me up...



From: Justin VanAbrahams <jvanabrah...@abico.com<mailto:jvanabrah...@abico.com>>
Sent: Monday, March 27, 2023 11:35 AM
To: user@guacamole.apache.org<mailto:user@guacamole.apache.org>
Subject: Failed to load "guac-common-svc"

Hi all -

I'm hoping someone can help me address the error "failed to load 
"guac-common-svc"" which prevents downloads from working in RDP via Guacamole.

This is a new installation running on Ubuntu 22.10 and Guacamole 1.5.0.

I'm not sure what information is helpful, so here's some facts: :)

Make thinks everything is happy:

guacamole-server version 1.5.0
------------------------------------------------

   Library status:

     freerdp2 ............ yes

   FreeRDP plugins: /usr/lib/x86_64-linux-gnu/freerdp2

That directory exists, as does the plugin directory beneath:

$:/ # ls /usr/lib/x86_64-linux-gnu/freerdp2/ -al
total 512
drwxr-xr-x  2 root root   4096 Mar 27 17:21 .
drwxr-xr-x 46 root root  49152 Mar 27 17:31 ..
-rwxr-xr-x  1 root root   1143 Mar 20 22:13 libguacai-client.la
-rwxr-xr-x  1 root root 371344 Mar 20 22:13 libguacai-client.so
-rwxr-xr-x  1 root root   1197 Mar 20 22:13 libguac-common-svc-client.la
-rwxr-xr-x  1 root root  82440 Mar 20 22:13 libguac-common-svc-client.so

Probably not relevant, but I'm using apache2 as a reverse proxy. The only 
things on the box are apache2/tomcat9/guacamole and mysql for auth.

I believe the only "weird" thing is that Guacamole is running under user 
"guacd" because I had this issue:

https://kifarunix.com/install-guacamole-on-debian-11/#fix-rdp-security-negotiation-failed

Changing the user for guacd solved that problem.

The only thing that seems obvious to me is that the error references a plugin 
(guac-common-svc) that does not explicitly exist...  However since Guacamole 
built the plugin I'm hesitant to mess with it....

Everything works exactly right except downloads!

Anyone have ideas?

Reply via email to