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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


About Us

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

The Fruity Computer

  • Create New...