You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Matt Jones <ma...@borninthe80s.co.uk> on 2022/07/08 16:44:51 UTC
Disable Auto redirect for a user with a single connection
Hi all,
We were on v1 and recently moved to 1.4.
I think you added a new feature that if the user has only access to one connection that you now auto redirect them into the virtual machine.
Is it possible to turn this off in the code?
We have a use case in that we added power buttons to the connection on the home page allowing the the user to power the virtual machine on/off as required.
When they have the single connection and the machine is powered off they get stuck in a loop and can’t get back to the home page to power the machine on.
Many thanks,
Matt
Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: Disable Auto redirect for a user with a single connection
Posted by Michael Jumper <mj...@apache.org>.
On Fri, Jul 8, 2022, 09:45 Matt Jones <ma...@borninthe80s.co.uk> wrote:
> Hi all,
>
> We were on v1 and recently moved to 1.4.
>
> I think you added a new feature that if the user has only access to one
> connection that you now auto redirect them into the virtual machine.
>
No - this has actually been the behavior for quite some time, since before
even 1.0.0.
If a user has access to only one connection, and does not have access to
any admin functions, they will be taken to their single connection
immediately upon login.
Is it possible to turn this off in the code?
>
> We have a use case in that we added power buttons to the connection on the
> home page allowing the the user to power the virtual machine on/off as
> required.
>
> When they have the single connection and the machine is powered off they
> get stuck in a loop and can’t get back to the home page to power the
> machine on.
>
No - this behavior is not configurable, and I wouldn't recommend looking to
disable behavior that is specifically intended to avoid presenting the user
with a list having only one choice.
If you have an extension that adds power buttons, a better approach would
be to ensure your extension works as intended even if the user is not on
the home screen. You could:
* Present buttons for the current connection on the connection screen, such
as within the menu or the error notification.
* Automatically and transparently power-on when the user attempts to
connect to a connection that is powered off, rather than rely on a manual
button click.
* ... or both.
- Mike
Re: Disable Auto redirect for a user with a single connection
Posted by Stefan Unverricht <su...@egroupware.org>.
We also do this via a dummy connection, which is assigned to all (group).
However, in our case mainly to offer the user the possibility to open the link in a new window (=> full screen). We have integrated Guacamole in our EGroupware as an iFrame. However, our users mostly want to use Guacamole in full screen (on the second monitor).
Stefan
sam g schrieb am 08.07.22 um 20:49:
> I have the same use case and what I did was adding a second dummy connection, then a field to enter the machine to restart/power-off and so on.
> That's far from perfect but I didn't found a better option (yet).
>
> Sam
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: Disable Auto redirect for a user with a single connection
Posted by sam g <sa...@yahoo.fr.INVALID>.
I have the same use case and what I did was adding a second dummy connection, then a field to enter the machine to restart/power-off and so on.That's far from perfect but I didn't found a better option (yet).
Sam
Le vendredi 8 juillet 2022, 18:45:04 UTC+2, Matt Jones <ma...@borninthe80s.co.uk> a écrit :
Hi all,
We were on v1 and recently moved to 1.4.
I think you added a new feature that if the user has only access to one connection that you now auto redirect them into the virtual machine.
Is it possible to turn this off in the code?
We have a use case in that we added power buttons to the connection on the home page allowing the the user to power the virtual machine on/off as required.
When they have the single connection and the machine is powered off they get stuck in a loop and can’t get back to the home page to power the machine on.
Many thanks,
Matt
Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org