Shree - 2011-02-11

I am trying to fix this.

vs-Xv has code to do cleanup on termination. The cleanup code sends the TERM signal to the VNC process, waits for it to exit, and then cleans the files in /tmp.

Peter says that only the log files remain, but the VNC and vs-Xv processes are not around. I feel that the apps are catching the TERM signal, but don't have sufficient time to wait for the VNC server to exit before doing the cleanup. So, I have now added code to remove the tmp files before trying to kill the process.

I have asked Peter to test with this (ChangeSet 355). If he doesn't notice the problem for many days, then maybe I'll consider this change successful.