bits n' bytes
home
windows
linux
photos
videos
Tuesday, February 7, 2012
BT Auto-Login
step 1:
Install rungetty
root@bt:~#apt-get install rungetty
step 2:
Edit tty1.conf
root@bt:~#nano /etc/init/tty1.config
Comment out
#exec /sbin/getty -8 38400 tty1
Type this line
exec /sbin/rungetty tty1 --autologin root
# tty1 - getty # # This service maintains a getty on tty1 from the point the system is # started until it is shut down again. start on stopped rc RUNLEVEL=[2345] stop on runlevel [!2345] respawn #exec /sbin/getty -8 38400 tty1 exec /sbin/rungetty tty1 --autologin root
step 3:
Edit ~/.bash_profile
root@bt:~#touch /root/.bash_profile root@bt:~#nano /root/.bash_profile
Type in
startx
startx
Save and Reboot
DONE!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment