Close browser tab on RDP disconnect

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Close browser tab on RDP disconnect

timofcourse
We recently started using Guacamole for browser-based RDP sessions. One behavior we'd really like to change is to automatically close the browser tab after an RDP disconnect / log off (e.g. via javascript "window.close();" action), instead of showing the "Disconnected" dialog that appears by default .

If closing the tab automatically isn't an option, is it be possible to modify the Disconnected dialog and only have a button that performs the close action ?

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Close browser tab on RDP disconnect

Nick Couchman-2
Tim,
I see where you're coming from, just not sure how wide-spread the demand for such a feature would be.  You're welcome to open an enhancement request via a JIRA issue:


I'm curious if any other users out there see this as desirable?  Anyone else care to comment on this?

-Nick


On Saturday, July 29, 2017, 1:28:27 PM EDT, timofcourse <[hidden email]> wrote:


We recently started using Guacamole for browser-based RDP sessions. One
behavior we'd really like to change is to automatically close the browser
tab after an RDP disconnect / log off (e.g. via javascript "window.close();"
action), instead of showing the "Disconnected" dialog that appears by
default .

If closing the tab automatically isn't an option, is it be possible to
modify the Disconnected dialog and only have a button that performs the
close action ?

Thanks!



--
Sent from the Apache Guacamole (incubating) - Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Close browser tab on RDP disconnect

timofcourse
For a bit more context, we use Guacamole through a third party solution - users launch guac RDP sessions directly from the third party app's interface.

As a result, the "Home" button on the Disconnected dialog isn't applicable to our setup, since users should never end up at the Guac home. Adding a Close button to the dialog (which after further thought, we would prefer to simply auto-closing upon log off) would provide a bit more of an intuitive way to get back to the third party apps "home" (the page where the guac RDP session was launched from).

We'd gladly open a JIRA request for this, but being pretty new to Guacamole and this process, curious what you think is the best way to request this. Should I add a single request to "Add customization options to Disconnected dialog" and include the details on removing Home and adding Close to the description? Or should I create 2 tickets - 1 to add Close option and another to have the option to remove the Home button?

Thanks!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Close browser tab on RDP disconnect

Mike Jumper
On Mon, Jul 31, 2017 at 7:50 AM, timofcourse <[hidden email]> wrote:

> For a bit more context, we use Guacamole through a third party solution -
> users launch guac RDP sessions directly from the third party app's
> interface.
>
> As a result, the "Home" button on the Disconnected dialog isn't applicable
> to our setup, since users should never end up at the Guac home. Adding a
> Close button to the dialog (which after further thought, we would prefer to
> simply auto-closing upon log off) would provide a bit more of an intuitive
> way to get back to the third party apps "home" (the page where the guac RDP
> session was launched from).
>
> We'd gladly open a JIRA request for this, but being pretty new to Guacamole
> and this process, curious what you think is the best way to request this.
> Should I add a single request to "Add customization options to Disconnected
> dialog" and include the details on removing Home and adding Close to the
> description? Or should I create 2 tickets - 1 to add Close option and
> another to have the option to remove the Home button?
>

IMHO, neither of these modifications would make sense upstream. The
best way to go about this would be to write your own web application
leveraging the Guacamole API, as you would then be able to dictate the
entire user experience:

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

- Mike
Loading...