Package Details: guacamole-server 1.5.5-1

Git Clone URL: https://aur.archlinux.org/guacamole-server.git (read-only, click to copy)
Package Base: guacamole-server
Description: Guacamole proxy daemon
Upstream URL: http://guacamole.sourceforge.net/
Keywords: guacamole
Licenses: GPL3
Replaces: guacd, libguac, libguac-client-rdp, libguac-client-ssh, libguac-client-vnc
Submitter: calendulish
Maintainer: figue (figuepluto, jfigueras)
Last Packager: figue
Votes: 27
Popularity: 0.080343
First Submitted: 2013-09-17 15:21 (UTC)
Last Updated: 2024-04-05 23:27 (UTC)

Dependencies (19)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

figue commented on 2024-03-31 00:54 (UTC)

@dodecahedron freerdp is an optional dependency, so if you install freerdp2 and rebuild, it should work out-of-the-box. I'll updated anyway the optdepend array in order to point the user to the right package.

About patching service files: I prefer to avoid it. Perhaps is a better choice send an email upstream or file a bug.

Thanks for reporting.

dodecahedron commented on 2024-03-30 21:35 (UTC)

@figue Thanks for maintaining this package! I have two suggestions:

  1. As @xabbu mentioned, freerdp was updated to version 3.4.0 so Guacamole no longer works with that version, so you should make this package depend on freerdp2 instead.

  2. I mentioned previously that it would be better to create a dedicated user named guacd for running guacd instead of using the daemon user. To make this change, you would need to patch the systemd service, add a sysusers file to create the guacd user, and a tmpfiles file to create that user's home directory. See https://aur.archlinux.org/cgit/aur.git/tree/?h=mastodon for an example of how to do this.

xabbu commented on 2024-03-24 08:27 (UTC)

There was an update of the freerdp package to version 3.4.0. Guacamole is not compatible with this freerdp version. However, the new freerdp2 package provides the older version and restores rdp protocol support.

figue commented on 2024-02-23 13:14 (UTC)

@KiralyCraft yeah, it's like you said (I have guacd user created too). Upstream has a systemd service that uses daemon as user, and the consequence is that RDP fails if that user has a home without permissions.

In fact, several online Guacamole install guides mention the creation of that user. Perhaps I can add a warning in post-install scripts or we can write a Wiki article with all these things.

KiralyCraft commented on 2024-02-22 17:04 (UTC)

There might be an issue for RDP because the systemd service file at /usr/lib/systemd/system/guacd.service specifically mentions the user as being "daemon", whose home is the root directory, which is not right about for this user.

Because of this when attempting to create a connection using RDP, the following error occurs:

WARNING: FreeRDP initialization may fail: The current user's home directory ("/") is not writable, but FreeRDP generally requires a writable home directory for storage of configuration files and certificates.

The connection does indeed fail, unless the user specified in the service file is changed to something where the home directory is writeable. I have temporarily worked around this issue by using an override systemd file, which specifically mentions another user instead of the "daemon" user, for which I've granted access to write in its personal home directory. After this everything works as expected.

figue commented on 2023-08-06 19:39 (UTC)

@dodecahedron thank you. I've take a look to code and I saw commits talking about ffmpeg 5.0. Perhaps I change it to 5.0, as I'm not sure if 6.0 is ready to work with Guacamole.

dodecahedron commented on 2023-08-06 18:55 (UTC)

I was able to build this package using ffmpeg instead of ffmpeg4.4 by replacing ffmpeg4.4 with ffmpeg in the PKGBUILD and adding -Wno-error=discarded-qualifiers to the CPPFLAGS.

rafdre commented on 2023-04-13 19:21 (UTC)

In case somebody has the same issue, here is what I had: makepkg command caused an error like "You are building against a development version of FreeRDP". I have found solution to add “–enable-allow-freerdp-snapshots” in PKGBUILD. After this compilation worked fine. The line which I changed looks like this:

./configure --enable-allow-freerdp-snapshots --prefix=/usr --sbindir=/usr/bin --with-systemd-dir=/usr/lib/systemd/system CPPFLAGS="-Wno-error=pedantic"

The idea to change file came from this: https://lists.apache.org/thread/cskbfs0s9v7gyvrtqwlp62og9who4cg6

figue commented on 2022-12-12 17:51 (UTC)

@xabbu did the commit 6e5a7d7bac9a fixed build errors for you?

xabbu commented on 2022-11-05 07:58 (UTC)

Building guacamole-server with OpenSSL 3.0 results in deprecate warnings, that are treated as an error. Adding -Wno-error=deprecated-declarations will still warn, but it is not an error anymore.
It works for my setup, but I don't encrypt the Guacamole protocol between server and client.