Guacamole Server
http://guac-dev.org/
Guacamole is an HTML5 web application that provides access to desktop environments using remote desktop protocols such as VNC or RDP. A centralized server acts as a tunnel and proxy, allowing access to multiple desktops through a web browser. No plugins are needed: the client requires nothing more than a web browser supporting HTML5 and AJAX.
This is the server-part.
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:ecsos:server/guacamole-server && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
guacamole-server-1.5.5.tar.gz | 0001136892 1.08 MB | |
guacamole-server.changes | 0000004908 4.79 KB | |
guacamole-server.patch | 0000000844 844 Bytes | |
guacamole-server.service | 0000000231 231 Bytes | |
guacamole-server.spec | 0000004984 4.87 KB | |
guacamole-server.sysconfig | 0000000126 126 Bytes | |
guacd.conf | 0000000345 345 Bytes |
Comments 18
Hi,
currently the server doesn't work. When I try to open a rdp or vnc connection I get an error saying the protocol is not supported. Seems there are some wrong / missing dependencies.
Regards, Martin
Okay. Do you have some log-entries for me?
Or can you stop the service and start it manually? Like: guacd -l 4822 -b 127.0.0.1 -L debug -f or guacd -l 4822 -b 127.0.0.1 -L trace -f
I've noticed the same thing - note that building from source on the same host worked, so it seems your spec file might be faulty - though it seems that when you install the server component it installs all dependencies, but then cant find them... logs below:
ssh: guacd -l 4822 -b 127.0.0.1 -L trace -f guacd[987]: INFO: Guacamole proxy daemon (guacd) version 1.1.0 started guacd[987]: DEBUG: Successfully bound socket to host 127.0.0.1, port 4822 guacd[987]: INFO: Listening on host 127.0.0.1, port 4822 guacd[987]: INFO: Creating new client for protocol "ssh" guacd[987]: INFO: Connection ID is "$da373294-df88-42ec-80be-c0837ccf09a1" guacd[989]: WARNING: Support for protocol "ssh" is not installed guacd[989]: DEBUG: Requesting termination of client... guacd[989]: DEBUG: Client terminated successfully. guacd[987]: INFO: Connection "$da373294-df88-42ec-80be-c0837ccf09a1" removed.
vnc: guacd[987]: INFO: Creating new client for protocol "vnc" guacd[987]: INFO: Connection ID is "$b71878e2-65a3-4149-a8b1-31a65b6a5d7d" guacd[1000]: WARNING: Support for protocol "vnc" is not installed guacd[1000]: DEBUG: Requesting termination of client... guacd[1000]: DEBUG: Client terminated successfully. guacd[987]: INFO: Connection "$b71878e2-65a3-4149-a8b1-31a65b6a5d7d" removed.
rdp: guacd[987]: INFO: Creating new client for protocol "rdp" guacd[995]: WARNING: Support for protocol "rdp" is not installed guacd[995]: DEBUG: Requesting termination of client... guacd[987]: INFO: Connection ID is "$e06a5c7c-3a94-476d-8eed-67f80ef3ac5c" guacd[995]: DEBUG: Client terminated successfully. guacd[987]: INFO: Connection "$e06a5c7c-3a94-476d-8eed-67f80ef3ac5c" removed.
Hope this helps - Patrick
Patrick, could you please share the spec file which worked for you?
Eric, in the ecsos:server spec file, there are a few references to the directory "%{_libdir}/freerdp2", which should contain files libguac-common-svc-client.so and libguacai-client.so. The files are missing from the built rpm file.
Cheers!
Hello gianza, can you please test if it is fixed now? Should version 1.2.0-lp152.2.1. 2.1 is important. And please report if it is fixed.
Hi Eric, I've updated the package and the /usr/lib64/freerdp2/ folder is now available, with the 2 libs. Unfortunately, the RDP protocol is still not working. The log is not giving clues other than saying the protocol is not installed:
From the main libguac.so.17.1.0 lib, I don't see references to the libguac-client-rdp or the two /freerdp2/ libs:
Could you please take a look?
Hello!, just tested with guacamole-server-1.3.0-lp152.4.1.x86_64, I got the same "support for protocol xxx is not installed" for SSH & VNC.
No missing libraries evident checking the client plugins with lld
I went with building by hand to (hopefully) close my deployment quicker, I hit the same issue of "protocol XXX is not installed".
In the end I fixed it modifying my service definition adding under [Service]:
Environment="LD_LIBRARY_PATH=/opt/guacamole/lib64"
There are other ways to do this, like adding an entry in /etc/ld.so.conf.d/guacamole.conf, but given it's only for the service it shouldn't be an issue.
Probably it's something similar with the package, libraries might not be in the dynamic linker path
Can you please test it again with version >= lp152.5.1?
Just installed lp153.7.2, I receive the same error:
guacd[25981]: WARNING: Support for protocol "ssh" is not installed
I see the configuration is there:
remote01:~ # cat /etc/ld.so.conf.d/guacamole.conf /usr/lib64 /usr/lib64/freerdp2
remote01:~ # rpm -qf /etc/ld.so.conf.d/guacamole.conf guacamole-server-1.3.0-lp153.7.2.x86_64
The libraries are in that path:
remote01:~ # ls -l /usr/lib64/libguac* lrwxrwxrwx 1 root root 34 Aug 11 07:03 /usr/lib64/libguac-client-kubernetes.so.0 -> libguac-client-kubernetes.so.0.0.0 -rwxr-xr-x 1 root root 191128 Aug 11 07:03 /usr/lib64/libguac-client-kubernetes.so.0.0.0 lrwxrwxrwx 1 root root 27 Aug 11 07:03 /usr/lib64/libguac-client-rdp.so.0 -> libguac-client-rdp.so.0.0.0 -rwxr-xr-x 1 root root 360456 Aug 11 07:03 /usr/lib64/libguac-client-rdp.so.0.0.0 lrwxrwxrwx 1 root root 27 Aug 11 07:03 /usr/lib64/libguac-client-ssh.so.0 -> libguac-client-ssh.so.0.0.0 -rwxr-xr-x 1 root root 216872 Aug 11 07:03 /usr/lib64/libguac-client-ssh.so.0.0.0 lrwxrwxrwx 1 root root 27 Aug 11 07:03 /usr/lib64/libguac-client-vnc.so.0 -> libguac-client-vnc.so.0.0.0 -rwxr-xr-x 1 root root 117040 Aug 11 07:03 /usr/lib64/libguac-client-vnc.so.0.0.0 lrwxrwxrwx 1 root root 17 Aug 11 07:03 /usr/lib64/libguac.so.19 -> libguac.so.19.0.0 -rwxr-xr-x 1 root root 119976 Aug 11 07:03 /usr/lib64/libguac.so.19.0.0
but it doesn't work :/
Sorry for the mess, but formatting things here is impossible
Hi,
Can you please add a build for Tumbleweed aarch64? I have tried compiling myself but I am getting deprecated errors for freerdp.
Thank you.
Done.
Thank you. I've managed to build it locally earlier on using your spec file. Would you mind adding the client as well? Kind regards.
Also done.
Eric, it appears the build is broken. GuacD reports the same issue as above.
SSH and VNC are not installed. Could you please advise how this can be fixed?
Thank you.
Jun 19 00:04:05 guacamole guacd[14300]: guacd[14300]: INFO: Guacamole proxy daemon (guacd) version 1.3.0 started Jun 19 00:04:05 guacamole guacd[14300]: guacd[14300]: INFO: Listening on host 127.0.0.1, port 4822 Jun 19 00:05:53 guacamole guacd[14300]: Creating new client for protocol "vnc" Jun 19 00:05:53 guacamole guacd[14300]: guacd[14300]: INFO: Creating new client for protocol "vnc" Jun 19 00:05:53 guacamole guacd[14300]: Connection ID is "$6638d28f-e273-4094-9633-a5e0a7aebec8" Jun 19 00:05:53 guacamole guacd[14390]: Support for protocol "vnc" is not installed Jun 19 00:05:53 guacamole guacd[14300]: guacd[14300]: INFO: Connection ID is "$6638d28f-e273-4094-9633-a5e0a7aebec8" Jun 19 00:05:53 guacamole guacd[14390]: guacd[14390]: WARNING: Support for protocol "vnc" is not installed Jun 19 00:05:53 guacamole guacd[14300]: Connection "$6638d28f-e273-4094-9633-a5e0a7aebec8" removed. Jun 19 00:05:53 guacamole guacd[14300]: guacd[14300]: INFO: Connection "$6638d28f-e273-4094-9633-a5e0a7aebec8" removed.
For anyone looking for the 'support for protocol xxx is not installed' issue - I just discovered that my issue was that the packages install libguac-client-xxx.so.0 while the dynamic loader is trying to load libguac-client-xxx.so which means it fails.
Okay. Thanks for the info. Normally the *.so packages are in the devel package. So also with me.
Could you test if the application works if you also install the devel package?
zypper in guacamole-server-devel
If it works, then you can run it again with
zypper rm -u guacamole-server-devel
to uninstall it.
Please give me an info, then I move the *.so into the "normal" package.
Hello!, I would like to give it another try. I'm getting:
Problem: 1: nothing provides 'libavcodec.so.61(LIBAVCODEC_61.3_SUSE)(64bit)' needed by the to be installed guacamole-server-1.5.5-lp156.1.4.x86_64
is there a external repository required?