Ubuntu 图形化界面登录,报错 sorry,that didn't work.please try again
2020-03-11 tech linux 1 mins 285 字
今天开启电脑后发现 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"