User Tools

Site Tools


doc:appunti:hardware:raspberrypi_autologin

This is an old revision of the document!


Raspberry Pi Autologin

This note are about Raspbian based on Debian 9 Stretch, which uses systemd.

Using raspi-config you can go to the menu Boot OptionsDesktop / CLI, where you can choose:

  • B1 Console
  • B2 Console Autologin
  • B3 Desktop
  • B4 Desktop Autologin

Beware that you should execute raspi-config after a sudo su, otherwise options B2 and B4 cannot determine the non-root user to be used. You can force that user setting the shell variable:

export SUDO_USER=pi

The Desktop Autologin is performed with Lightdm Desktop Manager, configuring the file /etc/lightdm/lightdm.conf:

autologin-user=pi
doc/appunti/hardware/raspberrypi_autologin.1569401891.txt.gz · Last modified: 2019/09/25 10:58 by niccolo