18.04:升级到 18.04 后如何取回 Wayland?

use*_*016 13 gdm wayland 18.04

从 17.10 开始,我熟悉了 Wayland,我真的需要按显示器缩放!

在将 dist 升级到 Bionic 后,如何开始 Wayland 会话?GDM 中没有现成可用的选项。

我没有看到被描述为

Wayland 会话仍将可用,已预先安装

Bionic Beaver 18.04 LTS 默认使用 Xorg

dhu*_*ter 12

在登录屏幕上,您应该能够通过单击登录按钮旁边的设置图标来选择“Ubuntu on Wayland”。

如果该选项在密码屏幕上的齿轮图标下不可用,请确保WaylandEnable=false/etc/gdm3/custom.conf

我的看起来像这样:

# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.

[daemon]
# Uncoment the line below to force the login screen to use Xorg
#  WaylandEnable=false

# Enabling automatic login
#  AutomaticLoginEnable = true
#  AutomaticLogin = user1

# Enabling timed login
#  TimedLoginEnable = true
#  TimedLogin = user1
#  TimedLoginDelay = 10

[security]

[xdmcp]

[chooser]

[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
Enable=true
Run Code Online (Sandbox Code Playgroud)

如果您无法登录以更改此设置,请将 Ubuntu 启动到恢复模式,进入 root shell,并将根分区挂载为读/写:如何启动到恢复模式?

从那里编辑 GDM 配置nano /etc/gdm3/custom.conf并注释掉 WaylandEnable 行:#WaylandEnable=false

  • 我没有看到那个选项,我只看到了“Ubuntu”和“Gnome Classic”,它们都没有使用 Wayland。`WaylandEnable = false` 被注释掉。 (6认同)

小智 9

我让这个工作,但它是通过专门设置这个选项:

WaylandEnable=true
Run Code Online (Sandbox Code Playgroud)

无论如何,正如别处提到的,这不适用于所有应用程序。

谷歌浏览器继续拥有怪物字体。