Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-16-2004, 08:13 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
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

Old 12-16-2004, 08:16 PM   #2
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
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?
Old 12-16-2004, 10:56 PM   #3
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 31
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.
Old 12-17-2004, 11:10 AM   #4
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
You can edit the file on a terminal


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

You can also put programs to be run in

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!
Old 12-18-2004, 12:56 PM   #5
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 01:14 AM
Automatically launching programs upon X windows startup kimchee411 Linux - Newbie 7 10-19-2004 02:43 AM
How do I start programs on x startup? xscreensaver & gkrellm darkleaf Linux - Software 3 10-08-2004 04:15 PM
Linux not booting past kernel startup jturck Linux - General 2 01-16-2004 08:20 AM
.xinitrc programs start twice on startup fasmaie Linux - Newbie 0 09-09-2003 03:59 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration