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

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


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/c71a7bef/attachment.htm>


More information about the systemd-devel mailing list