VNC Viewer
I installed VNC Viewer on my RHL 9.0 box, and I would like vncserver to start automatically when Linux starts up.
What changes would I have to make and is there a startup file that I would have to modify?
thx
Linux
I installed VNC Viewer on my RHL 9.0 box, and I would like vncserver to start automatically when Linux starts up.
What changes would I have to make and is there a startup file that I would have to modify?
thx
by joematus
Put a line in /etc/rc.d/rc.local that states /path/to/vncserver &
That should do it
Use the "chkconfig" command to make daemons a.k.a. services boot up
"chkconfig --list | less" will display all deamons active/inactive within your machine's bootup runlevels
view the /etc/inittab for a description of runlevels, but most common ones are 3 and 5
"ckconfig --level 35 vncserver on" will activate vncserver at runlevel 3 and 5
"chkconfig --level 2345 vncserver off" will de-activate vncserver for runlevels 2345 (don't disable 0, 6 as it is the shutdown and reboot runlevels"
another example
"chkconfig --list | grep vncserver" will display just vncserver bootup runlevel settings
Good luck
Stefan
if u r not much familiar with console
go t startx > start > run program > serviceconf
and check vcnserver for the runlevel u use (3,5)
This discussion is closed to new replies.
Sort by Trending