新用户进入以后,打开终端输入 sudo passwd root,进行root密码的修改
2、修改配置文件,确保root能够登录桌面环境sudo vi /etc/pam.d/gdm-autologin 注释 “auth requied pam_succeed_if.so user != root quiet success”
sudo vi /etc/pam.d/gdm-password 注释 “auth requied pam_succeed_if.so user != root quiet success”
reboot