Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, May 3, 2019 8:27 PM, <[email protected]> wrote:

> On 5/2/19 10:55 AM, 'qubeslover' via qubes-users wrote:
>
> > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > On Wednesday, May 1, 2019 11:19 AM, [email protected] 
> > wrote:
> >
> > > On 5/1/19 4:38 AM, Thierry Laurion wrote:
> > >
> > > > On Mon, Apr 29, 2019, 04:36 , 
> > > > <[email protected] 
> > > > mailto:[email protected]> wrote:
> > > >
> > > >     Hi!
> > > >
> > > >     According to https://github.com/QubesOS/updates-status/issues/782 
> > > > the script "app-shutdown-idle" is included in the latest stable 
> > > > templates.
> > > >     How to enable/use it? Unfortunately, I couldn't find any 
> > > > documentation in https://github.com/QubesOS/qubes-app-shutdown-idle to 
> > > > use it.
> > > >
> > > >
> > > > "The mechanism is opt-in - enable |shutdown-idle| service in qube 
> > > > settings to use it."
> > > > Which litterally means what it says.
> > >
> > > [dom0]$ qvm-service --enable AppVmName shutdown-idle
> > > did not the trick. The vms stay running even if all windows are closed. 
> > > Additionally, I couldn't find anywhere the setting 
> > > 'qubesidle.idleness_monitor' mentioned in the second link to adjust the 
> > > timeout.
> > > Any help how to do and where to enable it is appreciated.
> >
> > Hi,
> > (more or less) same problem here. On my laptop shutdown-idle only works 
> > with Fedora-based VMs. It has never worked with Debian/Whonix-based VMs.
>
> Could you describe please in a bit more detail how you enable this service. 
> For me the commandline above does not work even for Fedora templates. The 
> questions are as following:
>
> 1.  which commandline do you use to enable it?
> 2.  Does the service setting apply to a running AppVm or do I have to restart 
> it to be enabled?
> 3.  where can I find the timeout property 'qubesidle.idleness_monitor'?
> 4.  Is the service setting a persistent setting or do I need an autostart 
> script in dom0 for that?
>

Hi,
1. In a fedora-29 template type "sudo dnf install qubes-idle"

2. Create a fedora-29 based VM (let's call it "shutdown", it is just a test)

3. Shutdown's "Qubes Setting" -> Services -> Type shutdown-idle in the bar and 
click on +

4. Open a terminal in the Qube we called 'shutdown' and close it.

4b. If you want to check that qubes-idle-watcher is running type in the 
terminal ps aux | grep qubes-idle-watcher : you should see something like this 
running:

user       764  0.3  1.6 243856 25340 ?        S    13:07   0:00 
/usr/bin/python3 /usr/bin/qubes-idle-watcher

5. Close the terminal in the qubes.

6. After 15 minutes (without any windows open) the qubes 'shutdown' should 
automatically shutdown :-)

This works just perfectly in fedora-based VMs but it is not working in 
Debian/Whomix-based VMs.

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/J1OgvDYNqrjBK0eaDgKcNQ38MGHqgWIHJWBIROjxb8-HgHObeoyNHKL8G7bPEJ8apzaPu1fAVbcCvWuPmmFjVFSCH4eBC1UQbXrPdEqn9gs%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to