> => how (if at all) can I find out if the screensaver is running (i.e. > visible) on an X-terminal? > > If I can find this out, then I will have the screensaver detect inactivity, > and then I will peek at the screensaver every once in a while, so I can > terminate the session.
Ahh, that I can help you with! xscreensaver-command -display ws101:0 -time (That is where ws101 is your workstations name) This will return either when it has been blanked (screensaver on) or non-blanked. BTW- I do have a little script that I wrote that I run in a library set up. It runs from from cron every minute and checks for blanked screens and then "cleans up" the workstation by killing the different programs that may be running (Mozilla, OpenOffice, etc.). Let me know if anyone wants it. Now that I think of it, it would probably be easy enough to add a little time calculator and just kill the whole X session, which would log out the user and reset the workstation. Pete BIllson -- http://www.elbnet.com ELB Internet Services, Inc. Web Design, Computer Consulting, Internet Hosting ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net
