Before I go writing a script, has something like this been done before:

1. Check to see if rdesktop is active (ps -ax | grep -v grep | grep
/usr/bin/rdesktop)
2. If not, check again after some interval
3. If not, shut down the machine?

Maybe the code behind the X_BLANKING or SHUTDOWN_TIME options could be
modified to create a new RDP_IDLE_SHUTDOWN option? Maybe just a bash
script run with RCFILE_XX?

db

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_____________________________________________________________________
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.freenode.net

Reply via email to