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 08-29-2008, 10:33 AM   #1
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30
Question Autostart program

I have a few programs I would like to start when the computer boots up.

It's a server that occasionally gets rebooted due to power issues. It has no monitor/keyboard/mouse and no WM installed. So I want to have the programs start when the computer boots...not when someone logs in.

Every article I find seems to only start the software when a user logs in.

Any suggestions?
Old 08-29-2008, 11:24 AM   #2
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
It depends on the distro you're using, but there are various places to put startup scripts. For example, on Debian/Ubuntu you can put commands to run at startup in /etc/rc.local. There are better/more fine-grained ways to start things up depending on runlevel, but that's the easy, quick and dirty way to set it up. It's been a while since I used any other distros so I can't remember where the equivalents are, but you should be able to find them with a bit more searching.
Old 08-29-2008, 11:35 AM   #3
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Moreover, all of the distros have a 'serviceconfig' like tool.
Old 08-29-2008, 11:49 AM   #4
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Original Poster
Rep: Reputation: 30
Distro would be Debian.

I'll give your suggestion a shot.

Thank you.


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
Cancelling autostart of GUI program repei Linux - Newbie 5 11-25-2006 02:37 AM
autostart upsd program at bootup slash72 Ubuntu 4 06-27-2006 01:10 AM
program to autostart a killed service ~=gr3p=~ Linux - Networking 4 02-21-2006 01:04 AM
Autostart program mrrrl Red Hat 1 03-27-2005 01:58 PM
How to set a program to autostart upon Fedora Boot j3ff Fedora 1 08-30-2004 06:32 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:51 PM.

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