On Mon, Mar 16, 2020 at 11:00 AM Slym <[email protected]> wrote:

> Hello all,
>
> I looked in forums and documentation but did not find a way to do what I
> would like to do.
>
> I would like to be able to start a new connection using a URL or API by
> passing all needed information (host, port, protocol, credentials etc). The
> guacamole server would only be used to handle the protocols (SSH/RDP/VNC)
> and embed them in HTML5.  Everything else is managed from my own custom web
> application. (I do not need the connection to be stored in guacamole
> database)
>
> I saw the quickconnect module (ad-hoc connection) and it is similar to what
> I want except that I want to start the connection from another web
> application.
>
>
It sounds like, instead of using the full Guacamole Client application,
you'd be better off just using the common portions (guacamole-common and
guacamoe-common-js) and developing your own application based on the
protocol.  The manual covers this at a high level:

http://guacamole.apache.org/doc/gug/writing-you-own-guacamole-app.html

This allows you to use the portion that you're really after - efficient
access to multiple remote protocols - without the other pieces of the
application that duplicate what you're probably already trying to do
(authentication, authorization, and accounting).  You are welcome, of
course, to use the full Guacamole Client application, but there is no
straight-forward or seamless way to feed the information you're asking for
to a REST API endpoint and have it connection.  You could take a look at
the quickconnect module and use the bits there that would help you
accomplish it, but you're still going to need to do some modification to
make it work as you desire.  In the end, you'd have to make sure that
you're doing it in a secure way that doesn't allow someone to to abuse the
REST API endpoint to establish a connection without the proper
authorization.

-Nick

Reply via email to