edit /etc/inittab
c1:12345:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin 38400 tty1 linux
cat /usr/local/sbin/autologin
#!/bin/sh
login -f USERNAME
cat /home/username/.bash_profile
startx
c1:12345:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin 38400 tty1 linux
cat /usr/local/sbin/autologin
#!/bin/sh
login -f USERNAME
cat /home/username/.bash_profile
startx