Other Help Topics :: Black screen with .xinitrc
I have make a remaster
and now i want to start a script after
x windows was launch
i add this line in .xinitrc ==>
mount /mnt/hda1
rxvt -rv -T fixed yellow "start shell" -e sudo sh /mnt/hda1/start.sh
and when i launch dsl when it launch x windows i have a black
screen
if i launch the script "sh .xinitrc" manually it's ok
.....?
perhaps it's not the good file to launch a x term at startup....?
vincent
Try adding an ampersand (&) after the command, and make sure it is above the "fluxbox" line (unless you want to run the script in place of the window manager). This runs the command in the background and allows .xinitrc to continue its business.
You should be able to run anything you want from .xinitrc
ok thank
in fact i have already put the "&"
i try to place my line above fluxbox 2
I keeps you informed
vincent
now it's ok above fluxbox
i don't understand the difference between
================================
fluxbox &
rxvt -rv -T fixed yellow "start shell" -e sudo sh /mnt/hda1/start.sh
and
rxvt -rv -T fixed yellow "start shell" -e sudo sh /mnt/hda1/start.sh &
fluxbox
=================================
thank again...
ok now my script start
In my script i have this line :
killall -9 xtdesk
killall -9 wmcpuload
killall -9 fluxter
killall -9 wmnet
killall -9 asmem
killall -9 wmix
killall -9 mount.app
when i execute with sh start.sh it's ok
but at startup (call in my .xinitrc file)
i have no process to kill
my question:
how to wait that this process is done....
thank vincent....
Next Page...
original here.