Ubuntu 图形化界面登录,报错 sorry,that didn‘t work.please try again

Ubuntu 图形化界面登录,报错 sorry,that didn’t work.please try again

今天刚装完ubuntu20.04,设置好root密码后发现 root 用户登录会报这样的错误:
Sorry,that didn’t work.please try again.

实际上命令行登录是没有问题的,说明并不是密码的原因,基本就是桌面环境的原因啦。

vi /etc/pam.d/gdm-autologin
#注释 "auth requied pam_succeed_if.so user != root quiet success"

vi /etc/pam.d/gdm-password
#注释行 "auth requied pam_succeed_if.so user != root quiet success"

你可能感兴趣的:(学习笔记,ubuntu,linux)