Re: openbox started from .xinitrc partially deadlock if started htop.
Ian Zimmerman <[email protected]> Tue, 3 Jan 2017 17:17:28 -0800
| Newsgroups | gmane.comp.window-managers.openbox |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ openbox mailing list [email protected] http://icculus.org/mailman/listinfo/openbox