MMOCoin

Home / Guides / Raspbian Jessie AutoLogin to Console
raspbian jessie autologin to console - Raspbian Jessie AutoLogin to Console

Raspbian Jessie AutoLogin to Console

With previous versions of Raspbian you could edit inititab to make your Pi autologin to any account. Raspbian Jessie does not have inittab. The init system sysvinit has been replaced by systemd.

However setting Pi to autologin to console using pi user account is very easy. All you have to do is run raspi-config. You may launch this from a terminal session by the command.

sudo raspi-config

Alternatively, from the Raspbian Jessie desktop, choose Menu → Preferences → Raspberry Pi Configuration.

If you launched raspi-config from command prompt it looks like below:

howto 13401 - Raspbian Jessie AutoLogin to Console

Scroll down to 3 Boot Options.

Select option B1 Desktop / CLI

howto 13402 - Raspbian Jessie AutoLogin to Console

Select B2 Console AutoLogin

howto 13403 - Raspbian Jessie AutoLogin to Console

Save and exit the configuration and reboot.

The Raspberry Pi will now boot to console everytime. You may setup a script to run at startup if you are planning to operate pi headlessly. To do this, edit /etc/profile. Each time a login shell is spawned all commands in /etc/profile are executed.

sudo nano /etc/profile

To execute a script /home/pi/myscript.sh, add the following line

./home/pi/myscript.sh

Now everytime pi is powered on, it will autologin to pi user and execute your startup script, which presumably will take care of everything you it to do in headless mode.

Check Also

Download click bank university 2.0

Free Download Click Bank University 2.0

 ClickBank University 2.0 Free Download What You can Like About Clickbank University I like the …

%d bloggers like this: