You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by greggailly <gr...@yahoo.fr.INVALID> on 2021/04/17 11:02:49 UTC

Can't connect to RDP in Guacamole but works with freerdp

Hi,
I can't connect to a remote desktop using guacamole.
I can confirm the remote accepts connections as I can connect with Microft
Remote Desktop and xfreerdp on my mac.
The command on xfreerdp is the following one:
xfreerdp -u user -p password -v 192.168.0.11:08442 --cert-ignore
This works jus fine, however guacamole returns "The server took too long to
respond" and guacd logs say "User did not respond".
Both guacamole and guacd run in Docker containers.

Thanks !



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Can't connect to RDP in Guacamole but works with freerdp

Posted by Nick Couchman <vn...@apache.org>.
On Sun, Apr 18, 2021 at 12:23 PM greggailly <gr...@yahoo.fr.invalid>
wrote:

> I've actually managed to fix this.
>
> So it was a route problem. I now run the vpn with --no-routes flags to make
> sure no routes come and disturb the rest of the process.
> I manually add the necessary route once the container is up and running.
>
>
Thank you for following up with your solution!

-Nick

Re: Can't connect to RDP in Guacamole but works with freerdp

Posted by greggailly <gr...@yahoo.fr.INVALID>.
I've actually managed to fix this.

So it was a route problem. I now run the vpn with --no-routes flags to make
sure no routes come and disturb the rest of the process.
I manually add the necessary route once the container is up and running.



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Can't connect to RDP in Guacamole but works with freerdp

Posted by greggailly <gr...@yahoo.fr.INVALID>.
Yes when running xfreerdp it is from my personal computer so it has no
interaction with the guacd server.

To be a little more precise, here are a few details concerning the
infrastructure:

1) A docker container running a vpn client connects to the remote network

2) This VPN container exposes the port 8442 and  192.168.0.11 is the ip of
the host

3) Guacamole is given 192.168.0.11 as ip and 8442 port to connect to the
remote computer.

This setup works very well with other severs but this one in particular
seems to be more complicated.

Since connection with another RDP client (xfreerdp or Microsoft remote
desktop) on the same ip and port is working, the VPN part doesn't seem to be
the problem.

The only "interesting" thing is that even from the VPN container we can't
ping the remote machine, it is probably blocked by some firewall. The ping
issue doesn't seem to affect Microsoft remote desktop or xfreerdp but could
it disturb Guacamole ?

Thanks for the help !



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

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


Re: Can't connect to RDP in Guacamole but works with freerdp

Posted by Nick Couchman <vn...@apache.org>.
On Sat, Apr 17, 2021 at 7:03 AM greggailly <gr...@yahoo.fr.invalid>
wrote:

> Hi,
> I can't connect to a remote desktop using guacamole.
> I can confirm the remote accepts connections as I can connect with Microft
> Remote Desktop and xfreerdp on my mac.
> The command on xfreerdp is the following one:
> xfreerdp -u user -p password -v 192.168.0.11:08442 --cert-ignore
> This works jus fine, however guacamole returns "The server took too long to
> respond" and guacd logs say "User did not respond".
> Both guacamole and guacd run in Docker containers.
>
>
A couple of things to clarify:
* When you connect from xfreerdp, are you connecting from the same server
running guacd, or a different one (sounds like probably a different one)?
Is it on the same network as the Mac using xfreerdp, or a different one?
* In your xfreerdp command, you seem to have a non-standard port - 8442,
perhaps? I know this is a simple question, but just want to make sure
you're configuring that port in Guacamole when yo uset up the connection?

This really seems like a network routing and/or firewall issue of some
sort, so that would be the best place to start looking.

-Nick