LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-16-2004, 08:13 PM   #1
nathanield
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

Thanks
 
Old 12-16-2004, 08:16 PM   #2
secesh
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
sh1ft
Member
 
Registered: Feb 2004
Location: Ottawa, Ontario, Can
Distribution: Slackware, ubuntu
Posts: 391

Rep: Reputation: 32
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
Lazarus
Member
 
Registered: Dec 2001
Location: Kent in UK
Distribution: Fedora 2
Posts: 170

Rep: Reputation: 30
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!
 
Old 12-18-2004, 12:56 PM   #5
basileus
Member
 
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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