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: Program in .xinitrc does not start< Next Oldest | Next Newest >
RigasW Offline





Group: Members
Posts: 59
Joined: April 2006
Posted: May 27 2007,10:08 QUOTE

Hello,

I read a lot about remastering in this forum and almost succeeded with my remastering-project.

One thing is still not working:

Whenever dsl starts, I want the following script to run:

/home/dsl/.startgit.sh

So I added the following line to  .xinitrc:

sh /home/dsl/.startgit.sh &

But it does not start.

When I execute the line as user dsl in the dsl home dir, it DOES work.

BTW: I know that DSL uses my modified .xinitrc, because I uncommented # dillo ... and dillo does not start any more.

Any ideas?

Rigas
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 27 2007,11:04 QUOTE

Where did you put that command, exactly?  It must be above or within the "case $DESKTOP in" part (above would be the easier choice), or it won't run until after X closes, or not at all if it requires X.

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





Group: Members
Posts: 59
Joined: April 2006
Posted: May 27 2007,11:52 QUOTE

Hello,

thanks for your fast answer ...

I found what was wrong:

The script is actually started, and tries to start a java program.
But at that time, java/bin is not in the path.

So I inserted

export PATH="${PATH}:/ramdisk/opt/jre1_5_0/bin"

at the top of .xinitrc ...

and now it works.

Thanks again.

Rigas
Back to top
Profile PM 
2 replies since May 27 2007,10:08 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Program in .xinitrc does not start

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