autostart vnc server and auto connect to viewer

Erik Soderquist esoderquist "at" mcstamp.com
Wed May 11 17:21:01 2005


I know this will seem a strange request, especially from a security
standpoint, but I need to be able to have a fedora core 3 linux server
autostart Xvnc and autoconnect to a listening viewer on boot up. I have
a working script for it, but don't know where to put it. suggestions?

the script is as follows:

---start copied text---

sleep 30

vncserver :1 -geometry 1024x768

sleep 1-

vncconfig -display :1 -connect 10.0.3.22

---end copied text---