Log into your Pi, then type:
sudo nano /etc/inittab
Look for the line:
Quote
1:2345:respawn:/sbin/ getty 115200 tty1
Just add a "#" infront of it to disable it:
#1:2345:respawn:/sbin/ getty 115200 tty1
Add this line under it:
1:2345:respawn:/bin/login -f pi tty1</dev/tty1>/dev/tty1 2>&1
Hit CTRL + X and Y to save.
Type:
sudo nano ~/.bash_profile
Type:
startx
Hit CTRL + X and Y to save.
Now:
sudo reboot
It should now boot automatically.
Taken From: Raspberry Pi Tutorials
No comments:
Post a Comment