Erstmal brauchst du eine .xinitrc
$ echo "exec ck-launch-session dbus-launch --exit-with-session fluxbox-session" > .xinitrc
dann musst du die .bash_profile anlegen/editieren
. $HOME/.bashrc
if [ "$(tty)" = "/dev/tty1" ]; then
startx
logout
fi
Damit wirst du beim Einloggen auf tty1 automatisch die .xinitrc ausführen und beim ausloggen aus X wirst du auch auf der Konsole ausgeloggt.