You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by WhiteTiger <wh...@yahoo.it.INVALID> on 2020/04/27 15:36:07 UTC

How can I turn on remote PCs?

With Guacamole I can access PCs remotely.
But if these are off, how can I turn them on?
In the office I have a Linux Xubuntu PC always on and from this I could send
a Magic Packet to the other PCs.
But users don't have technical skills. So I have to provide them with a very
simple solution.
Is it possible to remotely launch a graphical tools like GWakeonlan?
Thanks in advance for any advice



--
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: How can I turn on remote PCs?

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Apr 27, 2020 at 11:36 AM WhiteTiger
<wh...@yahoo.it.invalid> wrote:

> With Guacamole I can access PCs remotely.
> But if these are off, how can I turn them on?
> In the office I have a Linux Xubuntu PC always on and from this I could
> send
> a Magic Packet to the other PCs.
> But users don't have technical skills. So I have to provide them with a
> very
> simple solution.
> Is it possible to remotely launch a graphical tools like GWakeonlan?
> Thanks in advance for any advice
>
>
I don't have a good answer for you today for something that would work, but
we are working on adding this functionality in the version 1.2.0 release:

https://issues.apache.org/jira/browse/GUACAMOLE-513

Code has not been merged, yet - it is still under review.

In the meantime you might be able to find some sort of web-based solution
that users could log into and send the magic packet.  I don't know of any
off the top of my head, but I'm sure they are out there.

-Nick

Re: How can I turn on remote PCs?

Posted by WhiteTiger <wh...@yahoo.it.INVALID>.
Entering WOL directly into Guacamole is a great idea.
The server is already in the LAN, obviously it is turned on; so there is no
difficulty for this to send the Magic Packet.
I am new to Guacamole and know only what little I have read on the guide and
several pages on the Web.
I was thinking of a first solution which I describe to you in this way.
1) On the Guacamole server a user is created without particular rights.
2) Create an SSH connection to the Guacamole server with this user.
3) The connection is available only to users authorized to turn on PCs
4) The SSH connection launches a script that displays a menu where the PCs
to start are listed. The user only has to choose the PC. The script sends
the Magic Packet and closes the connection.

As an alternative, instead of creating a single user associated with a menu
script, multiple users are created and each of them has a script that sends
the Magic Packet to a specific PC.
Each user uses his own SSH connection which only launches the script and
closes the connection.

There is a little more work to be done, but it should work.

Meanwhile, I look at the links you have reported to me.



--
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: How can I turn on remote PCs?

Posted by Vieri <re...@yahoo.com.INVALID>.


 On Monday, April 27, 2020, 11:18:09 PM GMT+2, ivanmarcus <iv...@yahoo.com.invalid> wrote: 

>
> http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Wake-on-lan-function-working-td2832.html
>
> https://github.com/necouchman/guacamole-client/tree/jira/513/extensions/guacamole-auth-wol

Yet another solution I decided to use myself is to "tail -f" catalina.out and grep for the username of successful authentications. The script then searches in a simple text file (I only have 200 users that require this) for the MAC address or addresses and broadcast addresses of every machine the user needs to boot. It then sends a magic packet to each destination.

I'm eager to try Nick's extension thougjh... as that would be the most elegant, in my opinion.

Vieri

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


Re: How can I turn on remote PCs?

Posted by ivanmarcus <iv...@yahoo.com.INVALID>.
If you want to send the magic packet automatically upon login I wrote a 
Python script some time ago that will do this. It reads the log and 
sends the magic packet as needed. It's a bit clunky and I wouldn't want 
to administer it for more than ~100 users but it's been running happily 
for a couple of years now, here's a link:

http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Wake-on-lan-function-working-td2832.html

Also Nick has been working on a proper extension which may be somewhat 
better. I've not used it myself but here's a link:

https://github.com/necouchman/guacamole-client/tree/jira/513/extensions/guacamole-auth-wol

On 28/04/2020 3:36 a.m., WhiteTiger wrote:
> With Guacamole I can access PCs remotely.
> But if these are off, how can I turn them on?
> In the office I have a Linux Xubuntu PC always on and from this I could send
> a Magic Packet to the other PCs.
> But users don't have technical skills. So I have to provide them with a very
> simple solution.
> Is it possible to remotely launch a graphical tools like GWakeonlan?
> Thanks in advance for any advice
>
>
>
> --
> 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
>