well did the first part. Just relized how unsafe this is, but ohwell.. lol
I followed this page(incase someone else needs help):
http://www.linuxgazette.com/issue72/chung.html
creating the script autologin.c:
int main() {
execlp( "login", "login", "-f", "USER", 0);
}
$ gcc -o autologin autologin.c
# cp autologin /usr/local/sbin/
than edited inittab with:
c1:1235:respawn:/sbin/agetty -n -l /usr/local/sbin/autologin 38400 tty1
I also had to mess with /etc/login.defs and allow tty1 to let non-root users log in without passwords:
from: NO_PASSWORD_CONSOLE tty1:tty2:tty3:tty4....
to: NO_PASSWORD_CONSOLE tty1
than i had to create .bash_profile in that users ~ dir and have it say
if [ -z "$DISPLAY" ] && [ $(tty) == /dev/tty1 ]; then
startx
fi
Still need a little help with the VNC part though..