[kde-linux] How to logoff KDE idle session?

Jonathan Chen (jonachen) jonachen at cisco.com
Wed Jul 27 16:53:57 UTC 2005

Hi All,

[Using KDE 3.1.3]

I am wondering if there is a way to automatically logoff someone from a
KDE session if they have been idling for 3 days?  The reason I am asking
for this is because some folks would use an application that would check
out a licensed use of a software and never release them because that
license is in use.  When that person's license is in use, other people
wanting to use application would not be able to use the application
because all the license were used up.

So I would like something to automatically logoff the person who has
been idling for 3 dyas or so and free up his hold of the license.

Another person from FreeNX told me to do action below and I am not sure
if that's the best way.  If it is, I'm not 100% how to implement yet...


Use a custom screensaver-shellscript (or you could replace kdesktop_lock
with your own one).


dcop ksmserver ksmserver logout 0 0 0


More information about the kde-linux mailing list