On Mi, 06.05.20 06:40, Archana Polampalli ([email protected]) 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 _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
