Ok. To login automatically as normal account:
- Open the file /etc/ttys for editting
- Disable xdm:
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm
off secure.
- Edit the line started with ttyv0, change
off to on, and put your desired username there:
ttyv0 "/usr/libexec/getty
username" cons25
on secure
- Put the following lines in your shell startup file:
Code:
if [ `tty` = /dev/ttyv0 ]; then
xinit
fi
That pretty much is.