Jump to content

Welcome, Guest!


Tutorial: How to autoboot your Pi without login prompt

Recommended Posts

How to autoboot your Pi without login prompt

You will no longer have to keep Logging in with Startx, or user and pass to get into ur LXDE after this one. Ideal for servers/car computers etc.

Log into your Pi, then type:

sudo nano /etc/inittab

Look for the line:

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.


sudo nano ~/.bash_profile



Hit CTRL + X and Y to save.


sudo reboot

It should now boot automatically.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

About Us

Bringing you the latest Raspberry Pi news, tutorials and user forum.

The Fruity Computer