Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to boot an application at startup, i am a Linux noob  HELP!!!!< Next Oldest | Next Newest >
KaptainBlaZzed Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 07 2005,22:33 QUOTE

i need to boot D2OL at startup.

the application is in the /home/dsl/SengentD2OL/D2OL folder and its name is D2OL.

I have added the lines /home/dsl/SengentD2OL/D2OL/D2OL to the bootlocal.sh file, but it does not work. I just get a bunch of errors when i boot DSL.

I think it has something to do with Java because the program needs it to run.

how would i boot java at startup, it might solve my problem.

and i am not sure if what i added to the bootlocal.sh file is correct.

Thanks

KB
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Nov. 08 2005,02:19 QUOTE

First, if the application is something that should be run as a regular user rather than root, it should not be in bootlocal....It should be run from /home/dsl/.bash_profile.  If it uses a graphical interface, it should be run from /home/dsl/.xinitrc.
If it is a program that will run continuously it should be followed by "&" so the script in which it is included can continue.  If it is a daemon, the & is probably not necessary.

Since it needs Java, you should download the jre extension from the mydsl repository  and have it loaded automatically if you do not have a standard harddrive install of DSL.  I don't know anything about Java in DSL, so you should read the info file associated with the java extension to see if there is anything special that needs to be done to get it working.

You should also post the "bunch of errors" so we have a better idea of what is wrong.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
KaptainBlaZzed Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 08 2005,05:15 QUOTE

thanks mikeshaw

i added the commands to the .xinitrc file and it worked perfectley
Back to top
Profile PM 
2 replies since Nov. 07 2005,22:33 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: How to boot an application at startup

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code