I have put the following line at the end of rc.local giving me:-
---------------------------------------------------------------
#!/bin/sh
if [ -f /etc/redhat-release ]; then
R=$(cat /etc/redhat-release)
arch=$(uname -m)
a="a"
case "_$arch" in
_a*) a="an";;
_i*) a="an";;
esac
echo "" > /etc/issue
echo "$R" >> /etc/issue
echo "Kernel $(uname -r) on $a $(uname -m)" >> /etc/issue
cp -f /etc/issue /etc/issue.net
echo >> /etc/issue
fi
su ben -c '/usr/bin/vncstart :5 > /tmp/vnc.log'
---------------------------------------------------------------
The last line works find if run for root (it starts up the vnc server) But
douse not seem to do anything at startup.
Any ideas,
Ben
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
* Ben Edwards lostit at videonetwork.org +44 (0)7970 269 522 *
* Campaign Against proper English, Dyslexic division *
* Homepage http://www.gifford.co.uk/~bedwards *
* i-Contact Progressive Video http://www.videonetwork.org *
* Smashing the Corporate image http://www.subvertise.org *
* Bristol's radical news http://www.bristle.co.uk *
* Open Directory Project http://www.dmoz.org *
* Currently in Penzance, do you know anyone here? *
*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+*+
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!