在 Centos Stream 上重新启动(可能是更新)后,我无法再登录。
- 默认是
graphical.target
- 如果我运行控制台模式,登录并运行
startx
,它可以工作 - 登录设置设置为
Standard X11 display server
- Centos 的默认显示管理器:我猜是 GDM(GNOME 显示管理器)
是什么阻止了登录屏幕登录?
我检查了所有其他问题,没有一个解决它。
$ systemctl status display-manager
● gdm.service - GNOME Display Manager
Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-02-28 08:34:19 JST; 14min ago
Main PID: 1884 (gdm)
Tasks: 3 (limit: 409474)
Memory: 5.9M
CGroup: /system.slice/gdm.service
└─1884 /usr/sbin/gdm
Feb 28 08:34:19 i9wspro systemd[1]: Starting GNOME Display Manager...
Feb 28 08:34:19 i9wspro systemd[1]: Started GNOME Display Manager.
Feb 28 08:34:24 i9wspro gdm[1884]: Gdm: GdmDisplay: Session never registered, failing
Feb 28 08:34:27 i9wspro gdm[1884]: Gdm: GdmDisplay: Session never registered, failing
Feb 28 08:34:35 i9wspro gdm[1884]: Gdm: GdmCommon: process (pid:2049, command 'gdm-session-worker [pam/gdm-launch-environment]') isn't dying after 5 seconds, now ignoring it.
Feb 28 08:50:30 i9wspro gdm[1884]: Gdm: GdmDisplay: Session never registered, failing
每次登录尝试后,它都会添加gdm[1884]: Gdm: GdmDisplay: Session never registered, failing
/etc/gdm/custom.conf
# GDM configuration storage
[daemon]
# Uncoment the line below to force the login screen to use Xorg
WaylandEnable=false
#AutomaticLoginEnable=True
#AutomaticLogin=alexis
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
systemctl list-units --failed
:
我创建了一个新用户,我可以毫无问题地登录。
我删除了用户的所有点文件和点文件夹,我可以登录但我丢失了所有扩展名等等。