I have my user ~/.profile file edited so that when I log in to tty1, startx gets executed.
Code: Select all
# Will prompt x session at login
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
. startx
logout
fi
My ~/.xinitrc looks like this.
Code: Select all
exec lxterminal &
exec openbox-session &
exec lxpanel