LinuxQuestions.org
Review your favorite Linux distribution.
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 04-24-2004, 12:28 PM   #1
ftwomey
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, 04:15 PM   #2
fancypiper
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
Code:
# Duron 950 uilleann Fedora Core 1 /etc/hosts file:  This file describes a number of hostname-to-address
#
127.0.0.1       uilleann        uilleann.phils  localhost
192.168.0.1     tinwhistle      tinwhistle.phils
192.168.0.2     uilleann        uilleann.phils
 
Old 04-25-2004, 05:49 AM   #3
ftwomey
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, 08:07 AM   #4
JJX
Member
 
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)
 
  


Reply


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

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

All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration