You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Pol <d....@gmail.com> on 2023/06/04 17:54:24 UTC

Support for protocol is not installed

Hello,

I'm trying to get Guacamole server 1.5.2 running without success, that's the reason why I subscribed to this mailing list after querying some search engines without luck.

Here's the steps I successfully did so far:

1. Compile `guacd`, with all the statuses set to 1 except for `wsock32`
2. Running `guacd`
3. Testing from a remote machine `telnet <server> 4822`
4. Creating 3 user-mapping (user-mapping.xml) for my own user: 1 for vnc, 1 for ssh, 1 for rdp
5. I can see those mappings when I connect to the web interface at http://nixos.lan:8080/guacamole/

What's not working is when I hit one of the 3 mappings I've created, in the logs I have:

```
Jun 04 17:09:09 nixos guacd[418573]: Support for protocol "rdp" is not installed
Jun 04 17:09:09 nixos guacd[418573]: guacd[418573]: WARNING:        Support for protocol "rdp" is not installed
Jun 04 17:09:09 nixos guacd[418528]: Connection "$8427342a-ee39-4007-9f33-47f4ae0dfc34" removed.
Jun 04 17:09:09 nixos guacd[418528]: guacd[418528]: INFO:        Connection "$8427342a-ee39-4007-9f33-47f4ae0dfc34" removed.
Jun 04 17:09:13 nixos guacd[418528]: Creating new client for protocol "ssh"
Jun 04 17:09:13 nixos guacd[418528]: guacd[418528]: INFO:        Creating new client for protocol "ssh"
Jun 04 17:09:13 nixos guacd[418528]: Connection ID is "$1f8f74b7-980b-41b0-95dc-6e625a460b5e"
Jun 04 17:09:13 nixos guacd[418528]: guacd[418528]: INFO:        Connection ID is "$1f8f74b7-980b-41b0-95dc-6e625a460b5e"
Jun 04 17:09:13 nixos guacd[418580]: Support for protocol "ssh" is not installed
Jun 04 17:09:13 nixos guacd[418580]: guacd[418580]: WARNING:        Support for protocol "ssh" is not installed
Jun 04 17:09:13 nixos guacd[418528]: Connection "$1f8f74b7-980b-41b0-95dc-6e625a460b5e" removed.
Jun 04 17:09:13 nixos guacd[418528]: guacd[418528]: INFO:        Connection "$1f8f74b7-980b-41b0-95dc-6e625a460b5e" removed.
```

And in catalina.out:

```
19:41:44.809 [http-nio-8080-exec-8] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:42:15.848 [http-nio-8080-exec-5] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:42:46.874 [http-nio-8080-exec-7] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:43:17.875 [http-nio-8080-exec-6] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:43:48.942 [http-nio-8080-exec-9] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:44:15.471 [http-nio-8080-exec-1] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: End of stream while waiting for "args".
19:44:15.576 [http-nio-8080-exec-6] ERROR o.a.g.s.GuacamoleHTTPTunnelServlet - HTTP tunnel request failed: java.net.ConnectException: Connection refused
19:44:38.141 [http-nio-8080-exec-9] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:44:58.725 [http-nio-8080-exec-1] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
19:45:05.493 [http-nio-8080-exec-7] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Creation of WebSocket tunnel to guacd failed: Connection to guacd timed out.
```

Some related PRs where you can find these informations on Github:
- https://github.com/jbuchermn/guacamole-nixos/pull/2

Do you know what could prevent the creation of a WebSocket tunnel to guacd ?

Thanks in advance.


-- 
-Pol Dellaiera-
  https://not-a-number.io/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Support for protocol is not installed

Posted by Ivanmarcus <iv...@yahoo.com.INVALID>.
Thanks for following up, it's always useful to know the 'fix'.

On 7/06/23 03:09, Pol wrote:
> Thanks,
> 
> The issue has been fixed. The issue was not from `ldconfig` or anything 
> like that but merely by a wrong assumption I was doing about Guacamole.
> I was thinking from the beginning that Guacamole could run a RDP server 
> by itself... but I was wrong.
> 
> After running XRDP locally, I was able to connect successfully ;)
> 
> Thank you for your help on this!
> 
> On 6/4/23 23:21, Michael Jumper wrote:
>> On 6/4/23 10:54, Pol wrote:
>>> Hello,
>>>
>>> I'm trying to get Guacamole server 1.5.2 running without success, 
>>> that's the reason why I subscribed to this mailing list after 
>>> querying some search engines without luck.
>>>
>>> Here's the steps I successfully did so far:
>>>
>>> 1. Compile `guacd`, with all the statuses set to 1 except for `wsock32`
>>> 2. Running `guacd`
>>> 3. Testing from a remote machine `telnet <server> 4822`
>>> 4. Creating 3 user-mapping (user-mapping.xml) for my own user: 1 for 
>>> vnc, 1 for ssh, 1 for rdp
>>> 5. I can see those mappings when I connect to the web interface at 
>>> http://nixos.lan:8080/guacamole/
>>>
>>> What's not working is when I hit one of the 3 mappings I've created, 
>>> in the logs I have:
>>>
>>> ```
>>> Jun 04 17:09:09 nixos guacd[418573]: Support for protocol "rdp" is 
>>> not installed
>>> Jun 04 17:09:09 nixos guacd[418573]: guacd[418573]: WARNING: Support 
>>> for protocol "rdp" is not installed
>>
>> Did you run "ldconfig" after "make install"?
>>
>>> ...
>>> Do you know what could prevent the creation of a WebSocket tunnel to 
>>> guacd ?
>>>
>>
>> The web application is definitely connecting successfully to guacd 
>> (you would not see any "Support for protocol ... is not installed" 
>> messages otherwise).
>>
>> The error you're seeing in the Guacamole logs could easily be caused 
>> by the protocol support being effectively missing (perhaps due to your 
>> system's linker cache not being updated after building by ldconfig).
>>
>> - Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
>> For additional commands, e-mail: user-help@guacamole.apache.org
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Support for protocol is not installed

Posted by Pol <d....@gmail.com>.
Thanks,

The issue has been fixed. The issue was not from `ldconfig` or anything like that but merely by a wrong assumption I was doing about Guacamole.
I was thinking from the beginning that Guacamole could run a RDP server by itself... but I was wrong.

After running XRDP locally, I was able to connect successfully ;)

Thank you for your help on this!

On 6/4/23 23:21, Michael Jumper wrote:
> On 6/4/23 10:54, Pol wrote:
>> Hello,
>>
>> I'm trying to get Guacamole server 1.5.2 running without success, that's the reason why I subscribed to this mailing list after querying some search engines without luck.
>>
>> Here's the steps I successfully did so far:
>>
>> 1. Compile `guacd`, with all the statuses set to 1 except for `wsock32`
>> 2. Running `guacd`
>> 3. Testing from a remote machine `telnet <server> 4822`
>> 4. Creating 3 user-mapping (user-mapping.xml) for my own user: 1 for vnc, 1 for ssh, 1 for rdp
>> 5. I can see those mappings when I connect to the web interface at http://nixos.lan:8080/guacamole/
>>
>> What's not working is when I hit one of the 3 mappings I've created, in the logs I have:
>>
>> ```
>> Jun 04 17:09:09 nixos guacd[418573]: Support for protocol "rdp" is not installed
>> Jun 04 17:09:09 nixos guacd[418573]: guacd[418573]: WARNING: Support for protocol "rdp" is not installed
> 
> Did you run "ldconfig" after "make install"?
> 
>> ...
>> Do you know what could prevent the creation of a WebSocket tunnel to guacd ?
>>
> 
> The web application is definitely connecting successfully to guacd (you would not see any "Support for protocol ... is not installed" messages otherwise).
> 
> The error you're seeing in the Guacamole logs could easily be caused by the protocol support being effectively missing (perhaps due to your system's linker cache not being updated after building by ldconfig).
> 
> - Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
> 

-- 
-Pol Dellaiera-
  https://not-a-number.io/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Support for protocol is not installed

Posted by Michael Jumper <mj...@apache.org>.
On 6/4/23 10:54, Pol wrote:
> Hello,
> 
> I'm trying to get Guacamole server 1.5.2 running without success, that's 
> the reason why I subscribed to this mailing list after querying some 
> search engines without luck.
> 
> Here's the steps I successfully did so far:
> 
> 1. Compile `guacd`, with all the statuses set to 1 except for `wsock32`
> 2. Running `guacd`
> 3. Testing from a remote machine `telnet <server> 4822`
> 4. Creating 3 user-mapping (user-mapping.xml) for my own user: 1 for 
> vnc, 1 for ssh, 1 for rdp
> 5. I can see those mappings when I connect to the web interface at 
> http://nixos.lan:8080/guacamole/
> 
> What's not working is when I hit one of the 3 mappings I've created, in 
> the logs I have:
> 
> ```
> Jun 04 17:09:09 nixos guacd[418573]: Support for protocol "rdp" is not 
> installed
> Jun 04 17:09:09 nixos guacd[418573]: guacd[418573]: WARNING:        
> Support for protocol "rdp" is not installed

Did you run "ldconfig" after "make install"?

> ...
> Do you know what could prevent the creation of a WebSocket tunnel to 
> guacd ?
> 

The web application is definitely connecting successfully to guacd (you 
would not see any "Support for protocol ... is not installed" messages 
otherwise).

The error you're seeing in the Guacamole logs could easily be caused by 
the protocol support being effectively missing (perhaps due to your 
system's linker cache not being updated after building by ldconfig).

- Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org