Setting up VNC as a service

Hi all,

Question: Many times I wondered why is there a vnc service and why does it always fail on startup?

Answer: Simple configuration of the /etc/sysconfig/vncservers

Examples:

this sets up a remote desktop service for user ‘john’ with a resolution of 1024×768

edit /etc/sysconfig/vncservers

VNCSERVERS="2:john"

VNCERSVERARGS=[2]="-geometry 1024x768"

If you want more than one user to have access, do the following:

VNCSERVERS="2:john 3:paul 4:harry"

VNCSERVERARGS[3]="-geometry 800x600"

VNCSERVERARGS[4]="-geometry 1600x1200"

That’s it.

Restart your vnc service and add it to the startup line:

/etc/init.d/vncserver restart

chkconfig vncerver on

Enjoy

DogsBoutique Doing Well

Sales are up and we have the pooch of the month competition prize winner in.

Murphy, the ex RAF Spaniel won the competition this month.

Congratulations Murphy – looking forward to seeing you in store soon.