On Tue, Jul 18, 2023 at 7:34 AM Aaron Contreras <aa...@redradix.com> wrote:

> Glad to know this is the right place to ask. As I said, I got quite
> familiar with Guacamole's docs during last week, but I did not achieve much
> (besides gaining some general knowledge and learning some basic concepts,
> which I appreciate 🙃)
>
> I will try my best to be more specific, but please feel free to ask for
> anything I may miss.
>
> Our setup consists of the following:
>
>    - Our host machine (in which Guacamole is installed and to which we
>    are connecting remotely) is running Ubuntu 22.04.2 LTS
>    - Guacamole (and guacd) are installed via Docker, following this
>    template on GitHub
>    <https://github.com/boschkundendienst/guacamole-docker-compose/>
>
> We are able to access the Guacamole application and, through it, the host
> machine remotely.
>
> However, we are failing to cover some specific use cases:
>
>    1. We have configured an RDP connection to launch an initial program
>    (a basic calculator provided by gnome), but this setting seems to be 
> ignored
>    2. We have configured the maximum numbers of connections and
>    connections per user to 10, but we cannot have more than one concurrent
>    connection to the same user
>
> Regarding issue #1, and first of all, we would like to know whether this
> is something that should be doable in our current setup (i.e. targeting
> UNIX systems). If that is the case, where should we start looking for the
> issue? The logs generated during the connection do not provide much
> information... Anyway, we are attaching them to this email, both using
> system defaults and with debug mode ON for both guacamole and guacd
> (although these are quite verbose).
>

This will depend on whether the RDP server on those systems supports this
functionality. You might check the docs and/or website for xrdp and make
sure it's something that is actually supported - and, try with other RDP
clients to see if it works with those. If you're seeing that something like
xfreerdp or Microsoft's Remote Desktop Client can connect and launch and
initial application properly, then it may be something Guacamole-specific.
If you see other clients misbehave, then it may be on the server-side or in
the FreeRDP library.


>
> Regarding issue #2, as per Lee Doughty's comment, I guess we will need to
> investigate if there is a way to enable concurrent sessions for the same
> user in Ubuntu and/or xrdp. If anyone has some information regarding this,
> we would appreciate you sharing it.
>

Yeah, as Lee rightly points out, Guacamole does not give you any ability to
circumvent session control that is enforced by the remote server, so
whatever limitations apply to any other RDP client apply to Guacamole. It
can help with some basic load balancing, reconnecting to a specific
connection within a group, and the like, but if the RDP server enforces a
limit of a single connection per user, Guacamole is also limited by that.

A quick Google search turned up this blog post - seems like it's a sort of
"known issue" with xrdp that takes some doing to work around:

https://c-nergy.be/blog/?p=16698

I log in to xrdp via Guacamole routinely, but don't have any need to
connect multiple, separate sessions under the same user account, so it
isn't something I've ever had to deal with.

-Nick

Reply via email to