starting vnc server during linux system boot and making it listen to a user defined specific port

Audsin dev adhocdev "at" yahoo.com
Fri Apr 29 20:00:01 2005


Hi 

I need to start vnc server while the linux system
boots and make it listen to a specific port (say
1000). I usually start my vncserver with command
vncserver -rfbport 1000.

It would be great if anyone can let me know how to
start the vnc and make it to listen to a specific port
(say 1000) while the system boots up.

i created a file /sbin/vnc-start with the content
vncserver -rfbport 1000 and added a line
/sbin/vnc-start in the /etc/rc.local; but it doesnt
start the vncserver. 

Any suggestions how to start the vnc server during the
boot up process and make it listen to an user defined
port

Regards
Dev


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com