You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Mike Jumper <mi...@guac-dev.org> on 2017/10/06 18:47:50 UTC

Re: Guacamole web client

On Fri, Oct 6, 2017 at 3:51 AM, Craig Jones <cr...@btinternet.com> wrote:
> ...
>
> Is it possible to connect to a designated machine using the tunnel? Maybe another library?
>

You can connect wherever you like, and it's entirely up to you to
dictate within your application how the connection information is
derived. Guacamole does not impost restrictions on where you can
connect.

>
> Can I pass username password into connection?
>

Yes. As you're writing your own application driven by Guacamole, it's
entirely up to you to dictate the mechanism behind this. All that
matters is that the username/password somehow be made available to the
tunnel as it establishes the connection to guacd, as the credentials
would need to be passed via connection parameters within a
GuacamoleConfiguration object:

http://guacamole.incubator.apache.org/doc/guacamole-common/org/apache/guacamole/protocol/GuacamoleConfiguration.html#setParameter-java.lang.String-java.lang.String-
http://guacamole.incubator.apache.org/doc/guacamole-common/org/apache/guacamole/protocol/GuacamoleConfiguration.html#setParameters-java.util.Map-

The parameters available are documented here:

http://guacamole.incubator.apache.org/doc/gug/configuring-guacamole.html

>
> Do I have setup a user within the client (server) and setup the machines connections and then connect via them?
>

As above, since you're writing your own application, this is entirely
up to you. Guacamole provides only the mechanisms for establishing and
tunneling these connections, as well as JavaScript objects for
displaying and interacting with the remote desktop. The definition of
a user, whether users even exist as a concept within your application,
how/if connections are configured, etc. are all outside the scope of
the Guacamole API.

>
> Lastly I would like to say fantastic job on this implementation and very impressed with the network utilisation of the application.
>

Thanks!

- Mike

Re: Guacamole web client

Posted by Mike Jumper <mi...@guac-dev.org>.
On Sat, Oct 7, 2017 at 12:20 PM, Craig Jones <cr...@btinternet.com>
wrote:

> Thanks Mike for your prompt reply, really appreciate it.
>
>
No problem.

Also, please beware that you are not subscribed to the dev@ list, and your
emails keep hitting the moderation queue. You need to subscribe for your
emails to get through reliably.

My first thoughts on reading your comments are that i have questions, but i
> will go and have a read of the links in more depth and try and understand
> how to achieve it.
>
>
Sounds good.

If i am still struggling i hope you don’t mind if i drop you an email at
> some point next week.
>

Assuming you mean emailing the list, by all means. Participating in
development-related discussion on the dev@ list is great. This is exactly
what the list is for.

If you mean emailing me directly ... please don't do this. Email the list.

Thanks,

- Mike

Re: Guacamole web client

Posted by Craig Jones <cr...@btinternet.com>.
Thanks Mike for your prompt reply, really appreciate it.

My first thoughts on reading your comments are that i have questions, but i will go and have a read of the links in more depth and try and understand how to achieve it. 

I do not want to send you stupid questions and certainly don’t want to; take up to much of your time.

If i am still struggling i hope you don’t mind if i drop you an email at some point next week.

Many thanks

Craig

> On 6 Oct 2017, at 19:47, Mike Jumper <mi...@guac-dev.org> wrote:
> 
> On Fri, Oct 6, 2017 at 3:51 AM, Craig Jones <cr...@btinternet.com> wrote:
>> ...
>> 
>> Is it possible to connect to a designated machine using the tunnel? Maybe another library?
>> 
> 
> You can connect wherever you like, and it's entirely up to you to
> dictate within your application how the connection information is
> derived. Guacamole does not impost restrictions on where you can
> connect.
> 
>> 
>> Can I pass username password into connection?
>> 
> 
> Yes. As you're writing your own application driven by Guacamole, it's
> entirely up to you to dictate the mechanism behind this. All that
> matters is that the username/password somehow be made available to the
> tunnel as it establishes the connection to guacd, as the credentials
> would need to be passed via connection parameters within a
> GuacamoleConfiguration object:
> 
> http://guacamole.incubator.apache.org/doc/guacamole-common/org/apache/guacamole/protocol/GuacamoleConfiguration.html#setParameter-java.lang.String-java.lang.String-
> http://guacamole.incubator.apache.org/doc/guacamole-common/org/apache/guacamole/protocol/GuacamoleConfiguration.html#setParameters-java.util.Map-
> 
> The parameters available are documented here:
> 
> http://guacamole.incubator.apache.org/doc/gug/configuring-guacamole.html
> 
>> 
>> Do I have setup a user within the client (server) and setup the machines connections and then connect via them?
>> 
> 
> As above, since you're writing your own application, this is entirely
> up to you. Guacamole provides only the mechanisms for establishing and
> tunneling these connections, as well as JavaScript objects for
> displaying and interacting with the remote desktop. The definition of
> a user, whether users even exist as a concept within your application,
> how/if connections are configured, etc. are all outside the scope of
> the Guacamole API.
> 
>> 
>> Lastly I would like to say fantastic job on this implementation and very impressed with the network utilisation of the application.
>> 
> 
> Thanks!
> 
> - Mike