View Single Post
  #4   (View Single Post)  
Old 30th October 2008
bsddaemon bsddaemon is offline
Slack Daemon
 
Join Date: Oct 2008
Posts: 35
Default

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.
__________________
...then the God created man...
Reply With Quote