Discussion Locked

VNC Viewer

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

3 replies

by penguinvitamins2

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

by peeyush_maurya

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.