[systemd-devel] IdleAction=lock not working in ubuntu

Archana Polampalli Archana.c727 at toshiba-tsip.com
Wed May 6 07:51:06 UTC 2020


Linux-4.19.0-5-amd64
Debian-buster
Systemd - systemd-241

Regards
Archana

From: systemd-devel <systemd-devel-bounces at lists.freedesktop.org> On Behalf Of Archana Polampalli
Sent: Wednesday, May 6, 2020 12:11 PM
To: systemd-devel at lists.freedesktop.org
Subject: [systemd-devel] IdleAction=lock not working in ubuntu

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 .



Regards
Archana.

.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200506/238eeb17/attachment-0001.htm>


More information about the systemd-devel mailing list