首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Gnome登录返回到登录屏幕。startx工程

Gnome登录返回到登录屏幕。startx工程
EN

Unix & Linux用户
提问于 2022-02-27 23:40:20
回答 1查看 2.4K关注 0票数 0

在Centos上重新启动(可能是更新)之后,我不能再登录了。

  • 默认为graphical.target
  • 如果我运行控制台模式,登录并运行startx,它就能工作。
  • 登录设置设置为Standard X11 display server
  • Centos的默认显示管理器:我猜是GDM (GNOME显示管理器)

是什么阻止登录屏幕登录?

我检查了所有其他的问题,但都没有解决。

代码语言:javascript
运行
复制
$ 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
代码语言:javascript
运行
复制
# 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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2022-02-28 11:22:32

我创建了一个新用户,我可以毫无问题地登录。

我删除了我的用户的所有点文件和点文件夹,我可以登录,但我失去了所有的扩展名等等。

票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/692338

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档