LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start Linux Programs Upon Booting - ie Windows' Startup? (https://www.linuxquestions.org/questions/linux-newbie-8/start-linux-programs-upon-booting-ie-windows-startup-267220/)

nathanield 12-16-2004 08:13 PM

Start Linux Programs Upon Booting - ie Windows' Startup?
 
In windows you can put all sorts of programs into a "startup" folder, and they all run automatically when windows boots up. Is there some similar function for linux? If it's a distro-specific type issue, I'm using mandrake 10.0

Thanks

secesh 12-16-2004 08:16 PM

it can be distro-specific, somewhat... different distros will script things in different ways, but the idea is generic.

the bigger question is do you mean to start up system services, like apache, or mysql, or do you mean to start up login programs like gaim or gimp?

sh1ft 12-16-2004 10:56 PM

Well I'm going out on a limb here and assuming he means the latter since he refered to them as 'programs'.

Gnome and KDE both have ways of accomplishing this through their gui tools.

Lazarus 12-17-2004 11:10 AM

You can edit the file on a terminal

/etc/rc.d/rc.local

and append your instructions to the end of it. Before I do this type of thing I make a backup of the file ie
cp rc.local rc.local.save

You can also put programs to be run in
/etc/inittab

If you look at it you will see the idear. Be careful makeing bad changes could make your system not boot or run properly.
You need to be root to do this
Have fun!

basileus 12-18-2004 12:56 PM

In gnome you can make programs start automatically by going to

Applications/Desktop preferences/Advanced/Services

You can also "Save session" when you Logout from Gnome, meaning that you can just leave a browser or whatever open and then Logout + Save session.

I suppose KDE has similar tools.


All times are GMT -5. The time now is 04:02 AM.