install (debian):

sudo aptitude install rungetty

configure:

edit /etc/inittab:

#1:2345:respawn:/sbin/getty 38400 tty1
1:2345:respawn:/sbin/rungetty tty1 --autologin YOUR_USER

for startx on login, edit ~/.bash_profile and at the bottom add:

if [ -z "$DISPLAY" ] && [ $(tty) = /dev/tty1 ]; then
    startx
fi