Gnome 默认为wayland;我怎样才能回到X11?

Rar*_*rez 9 gnome arch-linux x11 wayland

我将 Gnome 更新到最新版本,我意识到 Wayland 已安装为默认窗口管理器。我有很多问题,那么我如何回到X11?

我正在使用 Arch。

//编辑

问题解决了。我只是删除旧的 x11 配置并创建新配置:)

echo $XDG_SESSION_TYPE 返回 X11 :)

小智 13

来自 arch wiki 使用 Xorg 后端

默认使用 Wayland 后端,只有在无法启动 Wayland 后端时才使用 Xorg 后端。据报道,Wayland 后端会导致某些用户出现问题,因此可能需要使用 Xorg 后端。

要默认使用 Xorg 后端,请编辑

 /etc/gdm/custom.conf file and uncomment the following line:

#WaylandEnable=false
Run Code Online (Sandbox Code Playgroud)

我希望它是最新的。

  • 在我的 debian 10 文件下有明确说明:/etc/gdm3/daemon.conf (3认同)
  • 这是正确的解决方案。但是,GDM 作为服务运行,因此您需要“sudo systemctl restart gdm”或重新启动以确保其生效。 (2认同)
  • 在我的 Ubuntu 22.04 上,该文件是 /etc/gdm3/custom.conf (2认同)