EasyManua.ls Logo

Orange Pi Zero2 - Instructions for the Automatic Login of Linux Desktop Version os

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26
Kernel boot to enter system
bright
Turn off
GPIO port
PC13
PC12
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

Table of Contents

Related product manuals