1.打开终端,编辑/etc/lightdm/lightdm.conf
vim /etc/lightdm/lightdm.conf
2.找到 [Seat] 那一行,在其 下面 添加如下内容
autologin-user=root
autologin-user-timeout=0
(注意,一定要找对地方,否则会失败)
3.保存
:wq
4.重启检查效果
reboot
1.打开终端,编辑/etc/lightdm/lightdm.conf
vim /etc/lightdm/lightdm.conf
2.找到 [Seat] 那一行,在其 下面 添加如下内容
autologin-user=root
autologin-user-timeout=0
(注意,一定要找对地方,否则会失败)
3.保存
:wq
4.重启检查效果
reboot