Download your favorite Linux distribution at LQ ISO.
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 04-24-2004, 11:28 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
Starting an application at boot

Is there anyway to start a program before the login screen appears? I am running Redhat 9.0. I have an application that I want to run and that's it. I do not want to be able to access anything. I tried placing the progam in /etc/rc.d/rc.local but it is not working.

Also my eth0 interface will not activate on startup. I need to activate it manually. I checked to make sure the bootup was set to yes in the networking directory and I deleted the profile for it.
Old 04-24-2004, 03:15 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Put the command in the last script run on bootup in the file /etc/init.d/rc.local

Make sure the info in /etc/hosts is correct
# Duron 950 uilleann Fedora Core 1 /etc/hosts file:  This file describes a number of hostname-to-address
#       uilleann        uilleann.phils  localhost     tinwhistle      tinwhistle.phils     uilleann        uilleann.phils
Old 04-25-2004, 04:49 AM   #3
LQ Newbie
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
I do not have /etc/init.d/rc.local. I did put my program entry in /etc/rc.d/local.d. The program does not start up on boot and the login window is shown.

I would really just like my program to boot and nothing else. Also when the user closes the program, they cannot go to anything else.
Old 04-25-2004, 07:07 AM   #4
Registered: Mar 2004
Location: Greece
Distribution: Debian
Posts: 345

Rep: Reputation: 31
An other approach:

vi /etc//init.d/myfile
put anything u want there
Give +x.

cd /etc/rc2.d/
create a symbolic link here. (ln -s ../init.d/myfile S99myfile)

reboot (it should work)


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
starting application on boot shukla_chanchal Linux - General 6 11-14-2005 08:22 AM
Starting an application on X by console tiagomadeira Programming 1 01-09-2005 07:20 AM
rc.local not starting my application Greenman Linux - Newbie 11 08-17-2004 03:35 PM
kde starting application !!! Juventino Programming 14 03-09-2004 04:09 PM
Auto starting an application bbereg Linux - Newbie 7 11-21-2002 04:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:22 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