Difference between revisions of "Auto login raspbian - raspberry pi"

From ETCwiki
Jump to navigationJump to search
 
(No difference)

Latest revision as of 17:33, 27 August 2013

The raspberry pi comes made for its first OS, raspbian. This is how to make your Raspberry Pi automatically log you into a bash shell on the pi itself, starting you at the command prompt. This will work on any user but mainly it is used to automatically login the user pi to raspbian.

Auto Login Raspberry Pi Raspbian

I recommend using vim text editor but since this is for beginners I will show the command with the nano text editor to edit these config files.

  • edit the inittab file to comment their line and add ours
sudo nano /etc/inittab
  • Find this line, and add a # as the first letter (aka comment it out)
1:2345:respawn:/sbin/getty 115200 tty1
  • Just below that line, add this line
1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1
  • Your Pi will auto login using any user, pi or other, so be careful


External Links