User Tools

Site Tools


doc:appunti:hardware:raspberrypi_autologin

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:appunti:hardware:raspberrypi_autologin [2019/09/25 10:58] – created niccolodoc:appunti:hardware:raspberrypi_autologin [2019/09/25 11:02] (current) niccolo
Line 10: Line 10:
   * B4 Desktop Autologin   * 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:+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:
  
 <code> <code>
Line 22: Line 22:
 </file> </file>
  
 +Choosing the Desktop Autologin will enable also a **Console Autologin** on the VT1, with the same non-root user. The config is obtained via a symlink:
 +
 +<code>
 +/etc/systemd/system/getty.target.wants/getty@tty1.service ->
 +    /lib/systemd/system/getty@.service
 +</code>
 +
 +and a configuration file **/etc/systemd/system/getty@tty1.service.d/autologin.conf**.
  
doc/appunti/hardware/raspberrypi_autologin.1569401891.txt.gz · Last modified: 2019/09/25 10:58 by niccolo