You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by ensmm <bo...@ens2m.fr> on 2020/09/16 08:55:25 UTC

Guacamole 1.2.0 and Wake-On-Lan

Hello,
I try to wake up my computers over my LAN with the new functionality
"Wake-on-LAN (WoL)".
It works like clockwork except for the parameter "Host boot wait time".
If the remote computer is off, and I put 30 seconds in the parameter "Host
boot wait time", the user who tries to access the remote computer is
rejected after 15 seconds (always 15 seconds). Because the computer doesn't
have time to start in 15 seconds.
Are you seeing the same problem?
Thanks !



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by Nick Couchman <vn...@apache.org>.
On Sat, Sep 19, 2020 at 8:15 AM Takahiro SUZUKI <zu...@gmail.com> wrote:

>
> Dear Nick.
>
> Will this be fixed?
>
>
>
I would say it is likely that, at some point in time, this will be fixed.
I've no idea when - my day job is keeping me very busy these days, and I'm
trying to squeeze in time to work on a couple of other higher-priority JIRA
issues for Guacamole.  And, while this particular WoL issue shouldn't
actually require a real host to wake up in order to diagnose, I don't
actually have any configuration where I can test WoL aside from making sure
the magic packet is going out on an interface.

-Nick

Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by Takahiro SUZUKI <zu...@gmail.com>.
Dear Nick.

Will this be fixed?



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by ensmm <bo...@ens2m.fr>.
Hello,
Thank you everyone.
While waiting for a possible bug fix, I think I'm going to NOT turn off my
computers. It seems the most reasonable solution.
Have a nice day. Bye



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
Boris,

Possibly not all that useful but FWIW I don't configure a wait time.

When I used my own WOL implementation we just relied on Guacamole 
reconnecting if the target machine didn't respond within the timeout. I 
never needed to explain this to any user, and there were no problems.

Unfortunately the implemenation of Guacamole 1.2 with integrated WOL 
occurred for me around the same time as being locked up by Govt fiat. In 
order to ensure as seamless an operation as possible we set almost all 
machines to stay on, and as a result haven't much experience to pass on. 
The handful we do have running with (integrated) WOL seem to operate 
fine - without setting a wait time.

Just to complete the scene - in this instance all the machines are less 
than 4yrs old and most have SSD's so boot time isn't especially slow, 
this may differ in your instance. That said if I had slower machines to 
contend with I'd probably _not_ implement wait time unless it proved to 
be absolutely necessary.



On 19/09/2020 12:23 a.m., Nick Couchman wrote:
> On Wed, Sep 16, 2020 at 4:55 AM ensmm <boris.pinon@ens2m.fr 
> <ma...@ens2m.fr>> wrote:
>
>     Hello,
>     I try to wake up my computers over my LAN with the new functionality
>     "Wake-on-LAN (WoL)".
>     It works like clockwork except for the parameter "Host boot wait
>     time".
>     If the remote computer is off, and I put 30 seconds in the
>     parameter "Host
>     boot wait time", the user who tries to access the remote computer is
>     rejected after 15 seconds (always 15 seconds). Because the
>     computer doesn't
>     have time to start in 15 seconds.
>     Are you seeing the same problem?
>     Thanks !
>
>
>
> Sounds like there could be a bug in the WoL functionality where it 
> doesn't properly stop the 15 second connection timer from timing out 
> while it is waiting.  I thought I had tested this, but looks like I 
> may have missed something, unless other folks are not seeing it.
>
> From previous discussions on the feature it seems like most people are 
> not using the wait time parameter and are just relying on the 15 
> second timer and automatic re-connect so connect when it fails because 
> the system isn't responding.
>
> -Nick


Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by Nick Couchman <vn...@apache.org>.
On Wed, Sep 16, 2020 at 4:55 AM ensmm <bo...@ens2m.fr> wrote:

> Hello,
> I try to wake up my computers over my LAN with the new functionality
> "Wake-on-LAN (WoL)".
> It works like clockwork except for the parameter "Host boot wait time".
> If the remote computer is off, and I put 30 seconds in the parameter "Host
> boot wait time", the user who tries to access the remote computer is
> rejected after 15 seconds (always 15 seconds). Because the computer doesn't
> have time to start in 15 seconds.
> Are you seeing the same problem?
> Thanks !
>
>

Sounds like there could be a bug in the WoL functionality where it doesn't
properly stop the 15 second connection timer from timing out while it is
waiting.  I thought I had tested this, but looks like I may have missed
something, unless other folks are not seeing it.

From previous discussions on the feature it seems like most people are not
using the wait time parameter and are just relying on the 15 second timer
and automatic re-connect so connect when it fails because the system isn't
responding.

-Nick

Re: Guacamole 1.2.0 and Wake-On-Lan

Posted by lexcorp <ri...@gmail.com>.
The environment where apache guacamole runs is:

Apache Guacamole Server 1.2.0
Apache Guacamole Client 1.2.0
MariaBD
Centos 7

Hello, I configured Wake on Lan on a computer to allow sending the magic
package, I have tested that it works with an application from my mobile
device and also from another PC and it works correctly.

In apache guacamole I enable the option "Send WoL package" and enter the mac
address of the remote host, however the computer does not turn on and the
tomcat log does not show me any error related to Wake on Lan.

Only show this:

Oct  4 18:57:44 srvens01pro guacd[1083]: Creating new client for protocol
"rdp"
Oct  4 18:57:44 srvens01pro guacd[1083]: Connection ID is
"$45e23d16-71c8-4c26-94a3-4fc3bfd69c91"
Oct  4 18:57:44 srvens01pro guacd[1074]: No security mode specified.
Defaulting to security mode negotiation with server.
Oct  4 18:57:44 srvens01pro guacd[1074]: Resize method: none
Oct  4 18:57:44 srvens01pro guacd[1074]: User
"@ab71c32e-a8d9-45c7-9c0f-90010b76a917" joined connection
"$45e23d16-71c8-4c26-94a3-4fc3bfd69c91" (1 users now present)
Oct  4 18:57:44 srvens01pro server: 18:57:44.309 [http-bio-8080-exec-20]
INFO  o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
connection "9".
Oct  4 18:57:44 srvens01pro guacd[1074]: Loading keymap "base"
Oct  4 18:57:44 srvens01pro guacd[1074]: Loading keymap "en-us-qwerty"
Oct  4 18:57:59 srvens01pro guacd[1074]: Error connecting to RDP server
Oct  4 18:57:59 srvens01pro guacd[1074]: User
"@ab71c32e-a8d9-45c7-9c0f-90010b76a917" disconnected (0 users remain)
Oct  4 18:57:59 srvens01pro guacd[1074]: Last user of connection
"$45e23d16-71c8-4c26-94a3-4fc3bfd69c91" disconnected
Oct  4 18:57:59 srvens01pro guacd[1083]: Connection
"$45e23d16-71c8-4c26-94a3-4fc3bfd69c91" removed.
Oct  4 18:57:59 srvens01pro server: 18:57:59.330 [http-bio-8080-exec-20]
INFO  o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from
connection "9". Duration: 15021 millisecond



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org