[plug] VNC Shell Script

James Devenish devenish at guild.uwa.edu.au
Sun Nov 7 18:23:34 WST 2004


Hmm, sounds like things are in order. Have a look at /var/log/syslog or
/var/log/cron.log and search for 'cron' (scroll to the end and search
backwards). If there are no messages from 'cron' in either of those
files, have a look at /etc/syslog.conf and search for 'cron' to find
out where its messages are being stored.

> The contents of "rfbserver.sh":
> #!/bin/sh
> if ps -auxww | grep "x0rfbserver" | grep -v grep ; then
> 	exit 0
> else
> 	DISPLAY-:0 x0rfbserver
> fi

Note: you will need to change "DISPLAY-:0" to "DISPLAY=:0"





More information about the plug mailing list