Difference between revisions of "RPi Debian Auto Login"

From eLinux.org
Jump to: navigation, search
(Created page with "This guide will show you how to login to Debian Squeeze and start LXDE by simply powering the Pi on. ==Auto Login:== In Terminal: sudo nano /etc/inittab Scroll down to: 1:2345...")
 
Line 19: Line 19:
 
  startx
 
  startx
 
ctrl+x to exit, Y to save followed by enter twice
 
ctrl+x to exit, Y to save followed by enter twice
 +
 +
{{Template:Raspberry Pi}}

Revision as of 08:09, 26 April 2012

This guide will show you how to login to Debian Squeeze and start LXDE by simply powering the Pi on.

Auto Login:

In Terminal:

sudo nano /etc/inittab

Scroll down to:

1:2345:respawn:/sbin/getty 115200 tty1

and change to

#1:2345:respawn:/sbin/getty 115200 tty1

Under that line add:

1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1

Ctrl+X to exit, Y to save followed by enter twice

Auto StartX (Run LXDE)

In Terminal:

sudo nano /etc/profile

At the scroll to the bottom and add:

startx

ctrl+x to exit, Y to save followed by enter twice