The check for a running xrdp doesn't use the full path, which results in a
match for the script itself.
Try these changes to xrdp(.sh):
ps u --noheading -C xrdp | grep -q -i xrdp
to
ps u --noheading -C xrdp | grep -q -i $SBINDIR/xrdp
and
ps u --noheading -C xrdp-sesman | grep -q -i xrdp-sesman
to
ps u --noheading -C xrdp-sesman | grep -q -i $SBINDIR/xrdp-sesman
That should do the trick.
Cheers,
Daniel
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel