On Di, 14.05.19 11:32, Germano Massullo (germano.massu...@gmail.com) wrote:

> Il giorno lun 13 mag 2019 alle ore 10:00 Lennart Poettering
> <lenn...@poettering.net> ha scritto:
> > Note that it only works correctly on desktops that support it.
> Thank you for your reply. Why does it work only on desktop
> environments that support it? I believed that it provides idle infos
> to the D.E. not viceversa
> According to this seems that it would not be able to detect user idle
> time on headless systems where users generally operate by SSH.

Desktop environments need to tell us when the user last did something,
if they don#t we really don't know.

For tty logins we can watch the last access time of the tty to know
when the user last did something. inotify will notify us about that


Lennart Poettering, Berlin
systemd-devel mailing list

Reply via email to