Hi Lennart ,
I have few more questions,

1.I have run $loginctl lock-session <session-ID> command in gnome DE,it is 
locking the session. and why it is not locking through logind.conf parameters.

2.As per my investigation on session locking,  logind uses DBus to propagate 
the "Lock" event .we will need an application that listens for those events for 
ex.xss-lock,GDM,SDDM
So I have installed xss-lock though I found same behavior  

2.May I know which Desktop Environment support locking logic
1.Gnome
2.Mate
3.Lxde
4.Jwm


Thank in advance 

Regards,
Archana
-----Original Message-----
From: systemd-devel <[email protected]> On Behalf Of 
Archana Polampalli
Sent: Wednesday, May 6, 2020 2:25 PM
To: Lennart Poettering <[email protected]>
Cc: [email protected]
Subject: Re: [systemd-devel] IdleAction=lock not working in ubuntu

Thank you very much for the prompt reply

 I am using 'gnome' Desktop Environment

Regards,
Archana

-----Original Message-----
From: Lennart Poettering <[email protected]>
Sent: Wednesday, May 6, 2020 2:14 PM
To: Archana Polampalli <[email protected]>
Cc: [email protected]
Subject: Re: [systemd-devel] IdleAction=lock not working in ubuntu

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
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.

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
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.

_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to