版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Powerful_Green/article/details/86685764
1.打开终端,编辑/etc/lightdm/lightdm.conf
vim /etc/lightdm/lightdm.conf
2.找到 [Seat] 那一行,在其 下面 添加如下内容
autologin-user=root
autologin-user-timeout=0
(注意,一定要找对地方,否则会失败)
3.保存
:wq
4.重启检查效果
reboot