Re: Need help: Idle X-user?
Dennis Stampfer <seppy@debian.org> writes:
> Hi -devel,
>
> the program timeoutd was originally written when using X was not a matter
> of course:
>
> timeoutd loggs user out when they reached timeout-restrictions like max.
> login-time, max. idle-time, etc.
>
> Some users asked for X-Support. Well, X works well with "No login
> allowed at all" and "Login restricted to max. X minutes", but it does
> not work with "Logout, when user U was idle Yminutes.
> Support for X and "idle-logout" is not included within timeoutd. My
> question is:
>
> Is there any way to querry how long a X-user is idle? If not, do you
> think it's okay to write something like "IDLE-Logout does not work
> with X" into Readme.Debian and into the config-file(,manpage, ...)?
>
> I found no way to check if a user is idle without using extra libraries,
> and if I use extra libaries, new depencies are needed wich users don't
> need if they have no X on their box. (these extra-depencies may depend
> on X, so they need X, etc...)
>
> thank you,
> Dennis
X screensavers usually have a logout option and there is a way to ask
X for the idle time, again screensaver use it. You should look at some
of them.
MfG
Goswin
Reply to: