On Thu, Oct 20, 2011 at 3:00 PM, Bjartur Thorlacius
<svartma...@gmail.com> wrote:
> Myself, I used to run openvt bash from inittab. Anyone who knows how
> to do anything useful in a commandline knows how to boot from an
> alternative OS anyway. (Now I use login for no generally applicable
> reason).

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

Reply via email to