Guacamole shows error: Support for protocol RDP is not installed

@mrmarkuz

Hi Markus

Since about 2 weeks I’m having problems with Guacamole, it seems al my 20+ NethServers with Guacamole 1.1 aren’t working anymore…

All were working, tested!

All are simple, using local db, no AD or LDAP yet…
Actually, it was when testing to use LDAP/AD as per this post that I noticed, and checked all servers…

Any ideas?

Thx
Andy

Do you get an error?
Is there something relevant in the logfiles?

@mrmarkuz

Hi

Am on the road for the moment, but will reply ca 15-16:00…

Andy

@mrmarkuz

Hi

Sitting at the console again after a lengthy support session…

May 14 17:40:01 shzg-nethserver systemd: Started Session 6001 of user root.
May 14 17:40:01 shzg-nethserver systemd: Created slice User Slice of apache.
May 14 17:40:01 shzg-nethserver systemd: Started Session 6002 of user apache.
May 14 17:40:19 shzg-nethserver systemd: Removed slice User Slice of apache.
May 14 17:40:20 shzg-nethserver server: 17:40:20.142 [http-bio-8080-exec-35] INFO o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is “/usr/share/tomcat/.guacamole”.
May 14 17:40:21 shzg-nethserver guacd[24144]: Creating new client for protocol “rdp”
May 14 17:40:21 shzg-nethserver guacd: guacd[24144]: INFO:#011Creating new client for protocol “rdp”
May 14 17:40:21 shzg-nethserver guacd[24144]: Connection ID is “$452123b2-b570-4af0-9038-cf0685fac86a”
May 14 17:40:21 shzg-nethserver guacd: guacd[24144]: INFO:#011Connection ID is “$452123b2-b570-4af0-9038-cf0685fac86a”
May 14 17:40:26 shzg-nethserver guacd[6054]: Support for protocol “rdp” is not installed
May 14 17:40:26 shzg-nethserver guacd: guacd[6054]: WARNING:#011Support for protocol “rdp” is not installed
May 14 17:40:26 shzg-nethserver guacd[24144]: Connection “$452123b2-b570-4af0-9038-cf0685fac86a” removed.
May 14 17:40:26 shzg-nethserver guacd: guacd[24144]: INFO:#011Connection “$452123b2-b570-4af0-9038-cf0685fac86a” removed.
May 14 17:40:35 shzg-nethserver server: 17:40:35.394 [http-bio-8080-exec-19] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.

It seems that RDP isn’t installed?

Support for protocol “rdp” is not installed

Note, the above log messages are not from my home server (updated to 7.8 this morning), this server is still on 7.7.1908.
RDP directly to the PC/Server in question all work as expected. Just Guacamole has issues.

My Windows at home wanted an update first… :frowning:
→ When you need it, it wants to update.
After Windows updating and reboot, Guacamole at home works…

Any ideas?
Andy

I could not reproduce.
Did you try to preset username/password or recreate the connection?

Are guacd, freerdp-libs and libguac-client-rdp updated?

[root@testserver ~]# rpm -qa guacd *rdp*
freerdp-libs-2.0.0-1.rc4.el7.x86_64
libguac-client-rdp-1.1.0-1.el7.x86_64
guacd-1.1.0-1.el7.x86_64

@mrmarkuz

I’m anyway going to update that server to 7.8 tonight, and will check that Guacamole is up to date…
But It’ll be shortly after midnight…

I’ll post the results here.

The special thing about that server: It’s part of a Hotels IT. And the whole IT “moved out”.
IP Range, Firewall are the same, only the Hotel accesses it per VPN / RDP. And Guacamole is a Failover in case of RDP / PC issues…

Andy

@mrmarkuz

Hi

Updated the NethServer to 7.8.2003. Working fine, except this:

Seems that somehow some components are missing…

Can I just reinstall Guacamole to get those components?

Andy

The components are there as the rpm command showed them. You can’t “run” a package on command line.

Maybe freerdp1.2 is a problem as it may conflict with newer version 2.

Please try

yum remove freerdp1.2

@mrmarkuz

Sometimes, when wotking on 6 consoles with as much NethServers, my fingers are faster than my brain when it comes to copy & paste…
With Proxmox backups & snapshots, at least I’m on the safe side… :slightly_smiling_face:

Removed freerdp1.2, rebooted.

[root@shzg-nethserver ~]# tail /var/log/messages
May 14 23:41:30 shzg-nethserver guacd: guacd[1032]: INFO:#011Connection “$e47a2967-fcd1-4c48-ac5d-fe855c48f727” removed.
May 14 23:41:45 shzg-nethserver server: 23:41:45.417 [http-bio-8080-exec-16] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
May 14 23:42:16 shzg-nethserver sshd[4763]: error: PAM: Authentication failure for root from 192.168.114.1
May 14 23:42:21 shzg-nethserver sshd[4763]: Accepted keyboard-interactive/pam for root from 192.168.114.1 port 56229 ssh2

Still not working…

Is the Support for protocol “rdp” is not installed error still there?

Is guacd running?

systemctl status guacd -l

@mrmarkuz

The error still seems there, but not so sure…

Andy

First try to reconfigure:

signal-event nethserver-guacamole-update

You may try to reinstall, I updated the testing package, maybe you’re still running a buggy version.

yum reinstall https://mrmarkuz.dynu.net/mirror/devtest/nethserver-guacamole-0.0.1-1.ns7.noarch.rpm

EDIT:

I moved our posts to a new topic to not spam the howto topic.

1 Like

Which one is the right freerdp version?

Guacamole daemon works in freerdp library v1 but In centos 7, yum installation come with v2.0.0, this breaks RDP functionality.
Fix it by removing v2 and installing v1.
restart service

https://blog.rvsharma.com/streaming-rdp-protocol-over-http-via-guacamole/#supportforprotocolrdpisnotinstalled
https://github.com/Zer0CoolX/guacamole-install-rhel/issues/78
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Support-for-protocol-rdp-vnc-is-not-installed-td7473.html#a7493

2 Likes

RDP working here with freerdp 2.0 on 2 installations (vm and long running server).

The upgrade to freerdp 2.0 was done in Guacamole 1.1.0:

https://guacamole.apache.org/releases/1.1.0/

@Andy_Wismer do you use an older guacamole version?

But original guacamole docs say:

FreeRDP 2.0.0 or later is required for RDP support.
Fedora / CentOS / RHEL package freerdp-devel

1 Like

Hi

I’m running here Guacamole 1.1 - it WAS working about 2 weeks ago…
Right now, I’m having SSL issues…

Looking into it right now.

Andy

Hi

It seems there’s a DNS error at our external DNS Provider, most likely a follow up of moving during Corona times…

I need some records corrected, I’ll have to mail them.

I have to continue this tomorrow. Can’t check Guacamole if httpd isn’t running, only httpd-admin is.

Will report.
Andy

1 Like