Hi there,
It seems kinda late..but I'll post it here incase anyone needs help with it. There are 3 files you need to edit:
1. /etc/gettytab
2. /etc/ttys
3. Your shells' rc file, e.g: ~/.bashrc
Edit /etc/gettytab and search for autologin. Add these after the last entries:
Code:
logmein:\
:al=your_username:sp#115200:
Replace 'your_username' with your user login.
Next edit /etc/ttys. I set mine to autologin on ttyv5. So my entry looks like this:
Code:
#ttyv5 "/usr/libexec/getty Pc" cons25 on secure
ttyv5 "/usr/libexec/getty logmein" cons25 on secure
Lastly, I'm using bash shell so this is what I have in my ~/.bashrc:
Code:
if [ `/usr/bin/tty` = '/dev/ttyv5' ]; then
/usr/bin/ssh-agent /usr/local/bin/startx -- -nolisten tcp
fi
Hope this helps.