flcontainers / guacamole

A Docker Container for Apache Guacamole, a client-less remote desktop gateway. It supports standard protocols like VNC, RDP, and SSH over HTML5. For x64, arm64 and ppc64le.
https://hub.docker.com/r/flcontainers/guacamole
GNU General Public License v3.0
322 stars 60 forks source link

Loading custom extensions #88

Closed tscibilia closed 8 months ago

tscibilia commented 1 year ago

Is it possible to load a custom extension? I've been using guacamole for a while and created my own .jar file called branding.jar which changes some of the HTML of the login page and default text values of the en.json file. But every time the container restarts, my extension is removed.

jonaavanza commented 1 year ago

I'm having the exact same issue with the same extension So far I've tried to change the name of the extension to guacamole-branding-1.5.2.jar and enabled it on the guac-manifest.json, and several other things, but the same issue comes back (The .jar file is deleted from the extension folder when I restart the container)

MaxWaldorf commented 1 year ago

The script currently erase all plugins as it was designed to only be used with pre-built ones...

I'll see if I can change that

jonaavanza commented 1 year ago

Thanks a lot for your quick response, I got it working by deleting the fourth line on the file /usr/local/bin/_startup.sh inside the container After deleting the file I put the file branding.jar inside /config/guacamole/extensions, restarted the container and now it's working like with previous versions

MaxWaldorf commented 12 months ago

please try the testing image

jonaavanza commented 12 months ago

Hello, I can confirm that with the latest testing image custom extensions are working, thanks a lot Max