You should put an ampersant after every command in your .xinitrc, except after
the last one. Otherwise the second command will wait untill the first one
terminates and so on... The last one shouldn't have the ampersant after it,
since X terminates after all commands in .xinitrc have terminated.

So your .xinitrc should look like this:

kbiff &
knetload &
kfm &
kpanel


On Apr 26 [EMAIL PROTECTED] wrote:

> I've been trying to hack my xinitrc file to start a few programs when
> open blackbox, my fave window manager.
> 
> Mandrake have written in a bunch of scripts which call various other
> scripts. The startx man page says:
> 
>    NOTE: The startx script supplied with the X11 distribution
>          is a sample designed more as a base for customization than
>          as a finished product.  Site administrators are  urged  to
>          customize  it  for  their site.  And to update this manual
>          page when they do!
> 
> But Mandrake haven't updated it. Bad Mandrake. No biscuit.
> 
> Anyway, I wanted to start some applications like 'kbiff', and to run
> kpanel and kfm (I have installed blackbox with kde support and a patch
> to run various K applets in the Slit) so, first, I wrote a .xinitrc file
> in my home directory:
> 
> kbiff
> knetload
> kfm
> kpanel
> 
> and reran startx. This didn't work - blackbox failed to load.
> 
> Second try: I added the same lines to my /etc/X11/xinit/xinitrc file,
> just before
> 
> if [ -x $HOME/.Xclients ]; then
>       exec $HOME/.Xclients
> elif [ -x /etc/X11/xinit/Xclients ]; then
>       exec /etc/X11/xinit/Xclients
> 
> This didn't work either. So I erased that and tried adding the same
> commands to my etc/Xclients file, just before:
> 
> exec $PREFERRED
> 
> where $PREFERRED == blackbox
> 
> Still no dice.
> 
> So I removed everything. I went back to the way it was. But now startx 
> takes about 2 minutes to start my window manager, and gives an error 
> message:
> xauth: timeout locking authority file home/dash2/.Xauthority
> 
> What have I done and how can I fix it?
> 
> thanks in advance.
> 
> Dave Hugh-Jones
> 
> 
> 

-- 

Rial Juan                        <http://nighty.ulyssis.org>
                e-mail:              [EMAIL PROTECTED]
Belgium            tel:                    (++32) 89/856533
ulyssis system admininstrator       <http://www.ulyssis.org>

The little critters in nature; they don't know they're ugly.
That's very funny... A fly marying a bumble-bee...

------------------------------------------------------------

Sign the petition at http://www.libranet.com/petition.html
Help bring us more Linux Drivers


Reply via email to