[openbox] openbox started from .xinitrc partially deadlock if started htop.

Ian Zimmerman itz at primate.net
Tue Jan 3 20:17:28 EST 2017


On 2017-01-04 09:25, Anthony Thyssen wrote:

> At a minimum the script should redirect standard output and standard error
> to a log file of some kind
> In my own script I have...
> 
> log=".xerrors-$HOST"
> > rm -f "$log-prev"
> > [ -f "$log" ]  && mv "$log" "$log-prev"
> > exec >> "$log" 2>&1     # save the errors here (from here on)
> 
> 
> You can also redirect standard input (which is non-sensical for a xinit
> script)
> 
> exec </dev/null

There be dragons.  See

http://www.gossamer-threads.com/lists/gentoo/user/320882

I don't know why it works for you - maybe gdm takes care of these things.

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html


More information about the openbox mailing list