LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-11-2009, 05:28 AM   #1
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285
Blog Entries: 1

Rep: Reputation: 37
How to bring a program on system startup


I recently installed vuze 4.x on my mandriva 2007 system. Now it was a tar file which i unzipped. Now i want to run vuze on system startup.......i mean i want to bring it in the system panel permanently(even when the system starts)........ How shall i achieve it.
please help
 
Old 06-11-2009, 09:54 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.2, 15.0, current, slackware-arm-currnet
Posts: 6,068

Rep: Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806Reputation: 806
You should be able to start a program from rc.local on boot.

You need to become root in order to edit that file. Go to /etc/rc.d/ and you will find a file called rc.local.

Create a line at the bottom of the file, with the full path to the binary file. Save the rc.local file, boot your system to test it. The program should launch normally from a konsole first. If that works, then edit the file.
 
Old 06-11-2009, 10:06 AM   #3
barunparichha
Member
 
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 303

Rep: Reputation: 32
.bashrc
or
rcfile
 
Old 06-11-2009, 10:28 AM   #4
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 use camorri's method of launching an application from rc.local, however, at the time rc.local is executed, there will be no X server started on the local host. If your application requires X, you should probably look to your desktop (probably KDE or Gnome; you haven't specified) configuration to automatically start up applications. Can you tell us about the nature of your application, and a bit about what resources it expects to have available?
--- rod.
 
Old 06-11-2009, 04:31 PM   #5
lemon09
Member
 
Registered: Jun 2009
Location: kolkata,India
Distribution: Mandriva,openSuse,Mint,Debian
Posts: 285

Original Poster
Blog Entries: 1

Rep: Reputation: 37
Quote:
Originally Posted by theNbomr View Post
You can use camorri's method of launching an application from rc.local, however, at the time rc.local is executed, there will be no X server started on the local host. If your application requires X, you should probably look to your desktop (probably KDE or Gnome; you haven't specified) configuration to automatically start up applications. Can you tell us about the nature of your application, and a bit about what resources it expects to have available?
--- rod.


you see, i don't get you properly..........

i have kde installed on my system. the file that i want to open is a shell script that brings up the vuze GUI version
 
Old 06-11-2009, 10:31 PM   #6
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
There is an order to everything that happens at boot time. The starting of X happens only in runlevel 5, and after the commands in rc.local have executed. Ergo, the GUI application will be unable to start until after X has started. You can use the KDE desktop to automatically launch your application, however I do not know the precise method used to do this. It probably makes a difference which version of KDE you are using, and can probably be done in a way that it happens for all users, or simply for yourself. A quick Google search for 'KDE autostart application' turned up this page which looks helpful.
--- rod.
 
  


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 a Java program on system startup guitar_199 Linux - General 6 09-25-2007 04:23 AM
how to bring up modules at startup dipenchaudhary Linux - Hardware 1 02-08-2006 02:28 PM
when i startx the kde bring 2 bash program by it self Paxmaster Linux - General 1 11-11-2004 07:09 PM
Failed to bring eth0 up in suse 8.1 startup copter Linux - Networking 1 03-06-2004 06:45 PM
Failed to bring up eth0 on startup - RH8 Ryanitus Linux - Newbie 25 02-15-2003 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:20 PM.

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