[systemd-devel] IdleAction=lock not working in ubuntu
Archana Polampalli
Archana.c727 at toshiba-tsip.com
Wed May 6 08:54:30 UTC 2020
Thank you very much for the prompt reply
I am using 'gnome' Desktop Environment
Regards,
Archana
-----Original Message-----
From: Lennart Poettering <lennart at poettering.net>
Sent: Wednesday, May 6, 2020 2:14 PM
To: Archana Polampalli <Archana.c727 at toshiba-tsip.com>
Cc: systemd-devel at lists.freedesktop.org
Subject: Re: [systemd-devel] IdleAction=lock not working in ubuntu
On Mi, 06.05.20 06:40, Archana Polampalli (Archana.c727 at toshiba-tsip.com) wrote:
> Hi All,
>
> My requirement is my system should get locked automatically when the system is idle for 5min.
> So for this I have configured /etc/system/logind.conf file as
> IdleAction = lock IdleActionSec=2min
>
> And I restarted systemd service with 'setemctl restart
> system-logind.service' and I kept my system idle for more than
> 20min,but system not getting locked .and IdleAction = poweroff
> IdleActionSec=2min Is working ,but lock not working,what I am missing here.
> Please any one can help me at your earliest convenience .
Which desktop environment are you using? Not all DEs support the locking logic and simply ignore it.
Lennart
--
Lennart Poettering, Berlin
The information contained in this e-mail message and in any
attachments/annexure/appendices is confidential to the
recipient and may contain privileged information.
If you are not the intended recipient, please notify the
sender and delete the message along with any
attachments/annexure/appendices. You should not disclose,
copy or otherwise use the information contained in the
message or any annexure. Any views expressed in this e-mail
are those of the individual sender except where the sender
specifically states them to be the views of
Toshiba Software India Pvt. Ltd. (TSIP),Bangalore.
Although this transmission and any attachments are believed to be
free of any virus or other defect that might affect any computer
system into which it is received and opened, it is the responsibility
of the recipient to ensure that it is virus free and no responsibility
is accepted by Toshiba Embedded Software India Pvt. Ltd, for any loss or
damage arising in any way from its use.
More information about the systemd-devel
mailing list