Kernel boot to enter system
3.5. Instructions for the automatic login of Linux desktop
version OS
1) The desktop version of the OS will automatically log in to the desktop after it is
started by default, without entering a password
2) Modify the configuration in /etc/lightdm/lightdm.conf.d/22-orangepi-
autologin.conf to prohibit the desktop version OS from automatically logging in to the
desktop. The modification command is as follows, or you can open the configuration
file to modify directly
root@orangepis:~# sed -i "s/autologin-user=orangepi/#autologin-user=orangepi/"
/etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
3) The configuration of /etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf after
modification is as follows
root@orangepis:~# cat /etc/lightdm/lightdm.conf.d/22-orangepi-autologin.conf
[Seat:*]
#autologin-user=orangepi
autologin-user-timeout=0
user-session=xfce
4) Then restart the OS and a login dialog box will appear, at this time you need to
enter a password to enter the OS