1.sudo vim /etc/pam.d/gdm-autologin

注释掉

root登录出现“sorry, that didn

 

 2.sudo vim /etc/pam.d/gdm-password

注释

root登录出现“sorry, that didn

 

 3.reboot