Guacamole Server

Edit Package 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.

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

Martin Köditz's avatar

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


Eric Schirra's avatar

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


Patrick Fitzgerald's avatar

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


Gianza's avatar

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!


Eric Schirra's avatar

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.


Gianza's avatar

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:

 journalctl for guacamole-server.service with log_level = debug:
 Sep 14 09:13:32  guacd[22770]: Connection ID is "123...123"
 Sep 14 09:13:32  guacd[22770]: guacd[22770]: INFO:        Connection ID is "123...123"
 Sep 14 09:13:32  guacd[22855]: Support for protocol "rdp" is not installed
 Sep 14 09:13:32  guacd[22770]: guacd[22855]: WARNING:        Support for protocol "rdp" is not installed
 Sep 14 09:13:32  guacd[22855]: Requesting termination of client...
 Sep 14 09:13:32  guacd[22770]: guacd[22855]: DEBUG:        Requesting termination of client...
 Sep 14 09:13:32  guacd[22855]: Client terminated successfully.
 Sep 14 09:13:32  guacd[22770]: guacd[22855]: DEBUG:        Client terminated successfully.
 Sep 14 09:13:32  guacd[22770]: Connection "123...123" removed.
 Sep 14 09:13:32  guacd[22770]: guacd[22770]: INFO:        Connection "123...123" removed.

From the main libguac.so.17.1.0 lib, I don't see references to the libguac-client-rdp or the two /freerdp2/ libs:

ldd /usr/lib64/libguac.so.17
    linux-vdso.so.1 (0x00007ffea2d14000)
    libcairo.so.2 => /usr/lib64/libcairo.so.2 (0x00007f61932d4000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f61930d0000)
    libjpeg.so.8 => /usr/lib64/libjpeg.so.8 (0x00007f6192e67000)
    libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007f6192c24000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6192a05000)
    libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007f6192796000)
    libossp-uuid.so.16 => /usr/lib64/libossp-uuid.so.16 (0x00007f619258a000)
    libwebp.so.7 => /usr/lib64/libwebp.so.7 (0x00007f619231b000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f6191f60000)
    libpixman-1.so.0 => /usr/lib64/libpixman-1.so.0 (0x00007f6191cba000)
    libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f6191a75000)
    libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f61917bb000)
    libEGL.so.1 => /usr/lib64/libEGL.so.1 (0x00007f61915a7000)
    libxcb-shm.so.0 => /usr/lib64/libxcb-shm.so.0 (0x00007f61913a3000)
    libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f619117a000)
    libxcb-render.so.0 => /usr/lib64/libxcb-render.so.0 (0x00007f6190f6c000)
    libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f6190d62000)
    libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f6190a21000)
    libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f619080f000)
    libz.so.1 => /lib64/libz.so.1 (0x00007f61905f8000)
    libGL.so.1 => /usr/lib64/libGL.so.1 (0x00007f6190360000)
    librt.so.1 => /lib64/librt.so.1 (0x00007f6190158000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f618fe20000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6193822000)
    libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007f618f9b4000)
    libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007f618f782000)
    libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f618f565000)
    libGLdispatch.so.0 => /usr/lib64/libGLdispatch.so.0 (0x00007f618f2a9000)
    libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f618f0a5000)
    libGLX.so.0 => /usr/lib64/libGLX.so.0 (0x00007f618ee73000)

Could you please take a look?


Ciro Iriarte's avatar

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


Ciro Iriarte's avatar

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


Eric Schirra's avatar

Can you please test it again with version >= lp152.5.1?


Ciro Iriarte's avatar

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


Radu Ierimie's avatar

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.


Eric Schirra's avatar

Done.


Radu Ierimie's avatar

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.



Radu Ierimie's avatar

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.


Ilmar Kruis's avatar

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.


Eric Schirra's avatar

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.


Ciro Iriarte's avatar

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?

openSUSE Build Service is sponsored by