Raspberry Pi turned on or turned off automatic landing

1. Modify  / etc / lightdm  under  lightdm.conf  file, if not then create this file:

 sudo  vi /etc/lightdm/lightdm.conf 

Add or comment out the following: (pi is your user name)

[SeatDefaults]
autologin-user=pi

2. The command line or in direct mode:  the sudo raspi-config  command to open the visualization configuration interface Boot Optionsfor configuration.

Guess you like

Origin www.cnblogs.com/Java-Script/p/11095726.html