LinuxQuestions.org
Visit Jeremy's Blog.
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 01-04-2007, 12:34 AM   #1
nitinmhetre
LQ Newbie
 
Registered: Dec 2006
Posts: 4

Rep: Reputation: 0
Unhappy Starting C application automatically after booting


hi Friends,
I have written one C program which is used to play mediafile in Xine media player.I can run this program normaly.
But I want this program to be run automatically as soon as my machine finishes booting.I am using Fedora core 4 .
Please guide me, how to do this,what settings in rc scripts i need to do?

Thank You,
Nitin
 
Old 01-04-2007, 03:06 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You can run the program by putting a commandline to run it in /etc/rc.local From there, it will run as root, after the system is otherwise finished booting.

--- rod.
 
  


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
Application Starts Automatically jadurant Linux - Newbie 5 01-22-2006 04:12 PM
Execute an application automatically after startx gilan Debian 6 03-24-2005 10:34 PM
starting apache automatically upon booting zoso *BSD 4 02-14-2005 09:01 PM
How can I execute an application automatically when a user loggs in? iancr Red Hat 3 12-10-2003 04:32 PM
Starting X Automatically shari Linux - Software 2 08-08-2001 01:11 AM

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

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