我将 Gnome 更新到最新版本,我意识到 wayland 已被安装为默认窗口管理器。我遇到很多问题,如何返回X11?
我正在使用阿奇。
//编辑
问题解决了。我只是删除旧的 x11 配置并创建新的:)
echo $XDG_SESSION_TYPE
返回 X11 :)
答案1
来自 arch wiki 使用 Xorg 后端
默认使用 Wayland 后端,仅当 Wayland 后端无法启动时才使用 Xorg 后端。据报告,Wayland 后端会给某些用户带来问题,因此可能需要使用 Xorg 后端。
要默认使用 Xorg 后端,请编辑
/etc/gdm/custom.conf file and uncomment the following line:
#WaylandEnable=false
我希望它是当前的。
答案2
在 gdm 中,您输入密码的字段下方应该有一个小齿轮。在那里您应该能够选择 X11 会话
答案3
这是输出:
日志ctl -e -u gdm
sty 10 11:01:40 RarezPC gdm[348]: Child process -10757 was already dead.
sty 10 11:01:40 RarezPC gdm[348]: Child process -10776 was already dead.
sty 10 11:01:40 RarezPC gdm[348]: Child process 10761 was already dead.
sty 10 11:01:40 RarezPC gdm[348]: Unable to kill session worker process
sty 10 11:01:41 RarezPC gdm[348]: Child process -10816 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process 10796 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Unable to kill session worker process
sty 10 11:01:41 RarezPC gdm[348]: Child process -10835 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process 10821 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Unable to kill session worker process
sty 10 11:01:41 RarezPC gdm[348]: Child process -10854 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process -10854 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process -10873 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process 10858 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Unable to kill session worker process
sty 10 11:01:41 RarezPC gdm[348]: Child process -10892 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process -10892 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: GdmLaunchEnvironment: Unknown user gdm
sty 10 11:01:41 RarezPC gdm[348]: GLib-GObject: g_object_set: assertion 'G_IS_OBJECT (object)' failed
sty 10 11:01:41 RarezPC gdm[348]: Child process -10925 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Child process 10897 was already dead.
sty 10 11:01:41 RarezPC gdm[348]: Unable to kill session worker process
sty 10 11:02:12 RarezPC systemd[1]: Stopping GNOME Display Manager...
sty 10 11:02:13 RarezPC systemd[1]: Stopped GNOME Display Manager.