Help - Search - Members - Calendar
Full Version: Vncserver Auto Start
Linuxhelp > Support > Technical Support
andy1974
Hey guys


Havent been in the fourms in a bit. I was just wonder how to get fedora core 2 to start VNCSERVER on boot??
cool.gif cool.gif cool.gif cool.gif cool.gif
Hemant
Hi :- dry.gif

1. Each user has to log on at least once, and set a vncpasswd (or start vncserver). I recommend running vncserver for each user and quitting it.
2. Edit the file /etc/sysconfig/vncservers

The comments hints the format:
VNCSERVERS="1:user1 2:user2 3:user3"
Uncomment (remove the #) and set each display (1,2,3) to match a user (user1, user2, user3).

3. Type "ntsysv" on a shell. This displays a list of services. Mark "vncserver".

4. To check the configuration:
service vncserver start

5. Reboot and check

Enjoy... smile.gif

PS: stolen from some site smile.gif
hughesjr
If you have GUI on the machine, you can use:

redhat-config-services

instead of

ntsysv
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.