On Thu, Oct 20, 2011 at 6:16 PM, Bjartur Thorlacius <svartma...@gmail.com> wrote: > On Thu, 20 Oct 2011 15:00:48 -0000, Anders Andersson <pipat...@gmail.com> > wrote: >> >> My .bash_profile looks like this: >> >> # auto startx if logging in at VC/1 >> if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then >> startx >& ~/.myXLog >> logout >> fi >> > Uhm, so you've configured bash to exit immediately after starting X if run > as a login shell on tty1? Spawning bash only to spawn a wrapper script > around xinit seems like an overkill.
It's not like I can remove bash if I stop using it for this, and the extra milliseconds while starting X doesn't bother me much compared to having a completely new program that replace those lines.