Re: IdleAction=lock not working in ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Linux-4.19.0-5-amd64

Debian-buster

Systemd – systemd-241

 

Regards

Archana

 

From: systemd-devel <systemd-devel-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of Archana Polampalli
Sent: Wednesday, May 6, 2020 12:11 PM
To: systemd-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: 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.

 

.

.

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux