• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Autostart under Linux

Spearhawk

Member
Hi,
I'm trying to get vncserver to autostart on booting Linux (Mandrake 9.2). I have tried searching on google for it but I haven't found anything. Anyone got any ideas.
Note: I'm a Linux newbie, so telling me to install it as a system service or such won't help much.


Thanks in advance
`Spear
 
Someone correct me if I'm wrong, but I think you can just edit the /etc/rc.conf and add the executable's name (with full path).
 
to add in your own programs to start, you need to find the name of the daemon. I'm not sure what the exact program directory and name are, but here is what you would do.

you would open the file

/etc/rc.local in vi

, and add this line in:

/usr/sbin/vncserver start

this will start the vncserver after all the other services have started. also, instead of constantly adding lines of programs to start on bootup, you can create a script and add just one line in the rc.local file, and just keep editing the script with any changes you might want to make.
 
Back
Top