> I don't run the xserver by entering startx in the console.  I have
it starting
> and running automatically via an entry in ~/.bash_profile.
>> All entries in your .Xsession or similar must end with &, so
>> they'll
>> run in the background, except the last one. This last one should be
>> your window manager. For instance, mine's this:
>> exec xscreensaver -no-splash &
>> exec /usr/bin/fluxbox
>> Yours should be:
>> exec idesk &
>> exec /path/to/otherapp &
>> exec /usr/bin/icewm
>> I've tried idesk before and gave up for some reason, but i think
i
>> had
>> it working...
> I have it working well - but only from the command lime, by
entering
> the idesk
> command.  And even then, on one of the computers, as a child of
the
> terminal,
> so that X shuts down if I close the terminal; and when it does
> start, it only
> starts up if Icewm is running
> But I want it to run automatically at startup.
> Thanks for your help.
> Lisi



You can rearrange the order in which things are started in your
.xsession file, ie you dont have to start the window manager last.
Eg, my .xsession looks like:

#!/bin/sh
xrdb -merge ~/.Xdefaults &
xset -b
wmaker &
sleep 1
xclock -geometry 60x60-1-1 &
aterm -tr -trsb -sh 50 -geometry 160x64+70+5 &

while [ 1 ] ; do
sleep 1000d
done


Basically, when the script finishes, X will close - so dont let the
script finish - thats what the long sleeping loop at the end is for.
I'm guessing your .xsession should look something like:

#!/bin/sh
xrdb -merge ~/.Xdefaults &
icewm &
sleep 1
<other apps> &
idesk &

while [ 1 ] ; do
sleep 1000d
done


The line 'sleep 1' is intended to be a little delay to give icewm
time to start up before attempting to run idesk. It may not actually
be necessary, or it may be too small a delay, it all depends on how
idesk determines if icewm is running, ie it may look for a lock file
created really quickly by icewm, or it may look for a process that
may take some time to appear.

Cheers, Tim.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to