Quote:
Originally Posted by niner710
I am using VNC to connect from my XP machine to my Fedora box and it works. But when I reboot my computer then VNC server won't start unless I do it manually. How would I enable VNC on startup. I been reading around and it seems like you need to modify a startup script. Could someone tell me which one and how to do it? Any feedback would be much appreciated. Thanks.
|
To start anything on boot, there are a bunch of scripts in /etc/rc.d/rc*.d/ where * is a number. Linux starts in runlevels, think of them as different shades of Windows 'safemode' where 1 is bare bones and 5 is full gui boot. You probably want to look in /etc/rc.d/rc5.d/
In there are a bunch of symlinks (analgous to Windows shortcuts), they all start with K or S and a number. When Linux starts up it starts things in the order S1whatever through to S99whatever, it kills them in the reverse order when it shuts down.
Assuming vncd is in /usr/sbin, you want to create a symlink to it in that directory called S99vncd, use;
Quote:
ln -s /usr/sbin/vncd /etc/rc.d/S99vncd
|