2010/7/28 Murtaza Munaim <mur...@gmail.com>: > What do you suggest to monitor xrdp and sesman? > > -Murtaza
I use a little watchdog like this: #!/bin/sh if [ -z "$1" ]; then echo "Parameter missing, aborting..." exit 1 fi ulimit -c unlimited while true do rm -f /var/run/xrdp.pid $1 -nodaemon >> /dev/null 2>&1 echo "+++++ XRDP CRASH OCCURRED $(date +%F-%H:%M:%S[%N]) +++++" >> /var/log/xrdp-sesman.log done where $1 is the fullpath of xrdp... like /usr/local/sbin/xrdp. Every time xrdp got crashed it will automatically be restarted. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel