[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] openbox started from .xinitrc partially deadlock if started htop.
From:       itz () primate ! net (Ian Zimmerman)
Date:       2017-01-04 1:17:28
Message-ID: 20170104011248.27954.1239CEE3 () matica ! foolinux ! mooo ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic