On 5/10/19 11:30 AM, 'qubeslover' via qubes-users wrote:
>
>
>
> Sent with ProtonMail Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Sunday, May 5, 2019 2:17 PM, <[email protected]> wrote:
>
>> On 5/4/19 12:13 PM, 'qubeslover' via qubes-users wrote:
>>
>>> 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, 
>>>>> liked2-mmb7mzphnfy-xmd5yjdbdmrexy1tmh2ibg-xmd5yjdbdmrexy1tmh2...@public.gmane.org
>>>>>  wrote:
>>>>>
>>>>>> On 5/1/19 4:38 AM, Thierry Laurion wrote:
>>>>>>
>>>>>>> On Mon, Apr 29, 2019, 04:36 , 
>>>>>>> <liked2-mmb7mzphnfy-xmd5yjdbdmrexy1tmh2ibg-xmd5yjdbdmrexy1tmh2ibg-xmd5yjdbdmrexy1tmh2...@public.gmane.org
>>>>>>>  
>>>>>>> mailto:liked2-mmb7mzphnfy-xmd5yjdbdmrexy1tmh2ibg-xmd5yjdbdmrexy1tmh2...@public.gmane.org>
>>>>>>>  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
>>
>> Qubeslover, thank you very much for the detailled explanation. I managed it 
>> to enable! Now, I'm a qubeslover-lover. :)
>>
>
> Glad it has been helpful. I have a question. Have you managed to run 
> shutdown-idle in a Fedora-based VM? Or in a Debian-based one? In this latter, 
> if I type 'ps aux | grep qubes' I notice the the process 'qubes-idle-watcher' 
> is not running (and even if I launch it manually it does not work).
>
> Cheers
>

It runs for Fedora-based VMs like a charm. In Debian I encounter the same like 
described by you: this process is not running.
I haven't tried the testing packages as proposed by unman.

-- 
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/7809aa00-85e7-2e3a-229b-50f874db93a1%40gmx.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to