Howto: Extend Autologin without a Display ManagerAugust 28, 2006 at 5:03 pm | Posted in tips and tricks, xubuntu | Leave a comment
Following this guide, you can set up Bash to re-start X after you log out, just like a display manager.
Edit .bash_profile (mousepad .bash_profile), and replace the lines
# autologin tty2
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty2 ];
ps ax|grep -q "[ ]`which X`" || exec xinit >/dev/null 2>&1
Save and exit. Now when you use Ctrl+Alt+Backspace, X will restart. You can use
killall Xorg as a logout command.
The only downside to this is that you won’t have any extra tty’s (Ctrl+Alt+2, Ctrl+Alt+3, etc, etc).