Minimal Debian - Auto login & startx - Because I can.
After installing openbox and xorg you need every time login and startx manually, lets change that:
sudo nano /etc/inittab
Then find line looking something like this:
1:2345:respawn:/sbin/getty 38400 tty1
Comment out it and add this bellow it, change USERNAME_HERE with your username and save:
1:2345:respawn:/bin/login -f USERNAME_HERE tty1 /dev/tty1 2>&1
After that lets get to the auto startx part
sudo nano /etc/rc.local
to the bottom after exit 0, add this:
su -l USERNAME_HERE -c startx
This runs startx automatically after that username logins and because you login automatically this should just works like magic but it does not, well at least not yet now lets fix that:
sudo nano /etc/X11/Xwrapper.config
So because xorg needs permissions to run you need change last line "allowed_users" to anybody like this:
Reboot and look how everything just work.