相关疑难解决方法(0)

你如何在 Ubuntu 17.10 中从 Wayland 切换回 Xorg?

我的一些应用程序无法在 Ubuntu 17.10 Wayland 上运行。如何切换回 Xorg?

xorg wayland 17.10

70
推荐指数
3
解决办法
8万
查看次数

为什么 gksu/gksudo 或使用 sudo 启动图形应用程序不能与 Wayland 一起使用?

我安装了 Ubuntu 17.10。现在我遇到了gksu以下问题:

$ gksu -dg synaptic
No ask_pass set, using default!
xauth: /tmp/libgksu-HgUjgQ/.Xauthority
STARTUP_ID: gksu/synaptic/8760-0-alex-XPS-15-9530_TIME4974977
cmd[0]: /usr/bin/sudo
cmd[1]: -H
cmd[2]: -S
cmd[3]: -p
cmd[4]: GNOME_SUDO_PASS
cmd[5]: -u
cmd[6]: root
cmd[7]: --
cmd[8]: synaptic
buffer: -GNOME_SUDO_PASS-
brute force GNOME_SUDO_PASS ended...
Yeah, we're in...
Unable to init server: Could not connect: Connection refused
(synaptic:8767): Gtk-WARNING **: cannot open display: :1
xauth: /tmp/libgksu-HgUjgQ/.Xauthority
xauth_env: (null)
dir: /tmp/libgksu-HgUjgQ
Run Code Online (Sandbox Code Playgroud)

如果我不使用-g,密码对话框将被禁用。所以看起来像为 root 创建 tty 的问题。

有什么建议吗?

root wayland gksu

47
推荐指数
4
解决办法
4万
查看次数

Wayland 如何设置自定义分辨率

旧标题 - “使用 xrandr 将分辨率更改为 1280x1024 给出:失败请求的 X 错误:BadValue(整数参数超出操作范围)”

我已经安装了一个全新的 Ubuntu 17.10,并且有一个分辨率为 5:4 的显示器。设置没有高于 1024x768 的分辨率。但我需要 1280x1024 (5:4) 的分辨率。我使用默认主板显卡:

# lspci|grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Run Code Online (Sandbox Code Playgroud)

xrandr 还提供以下内容:

$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
XWAYLAND0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      59.92*+
Run Code Online (Sandbox Code Playgroud)

我尝试使用 xrandr 添加 1280x1024 分辨率。所以首先使用gtf创建分辨率信息:

$ gtf 1280 1024 60 …
Run Code Online (Sandbox Code Playgroud)

intel-graphics wayland display-resolution

20
推荐指数
2
解决办法
3万
查看次数

如何在 17.10 的 gdm3 登录屏幕中禁用 Wayland

我刚刚安装了 ubuntu 17.10。我使用的是 Ryzen 1200 CPU 和带有 2580x1080 60Hz 显示器的 RX-560 GPU。

显示器通过 HDMI 电缆连接到 GPU。

当我使用 2580x1080 的原生显示器分辨率时,在 Wayland 会话中,屏幕会出现这些非常奇怪的故障。毛刺看起来像是刷新率问题,由垂直同步修复的问题,但它们非常强烈并且在整个屏幕上。一旦我将分辨率更改为较低的分辨率,屏幕就会变得正常。

在 x.org 会话中,我可以使用我想要的任何分辨率,一切都很好。

问题是,在引导加载屏幕(显示“ubuntu”的屏幕)和登录屏幕期间,我在登录之前看到屏幕上出现相同的故障。

boot-loading-indicator 是否使用wayland?我可以让它使用 x.org/x11 吗?登录屏幕也一样吗?

xorg wayland radeon display-resolution 17.10

12
推荐指数
1
解决办法
3万
查看次数

标签 统计

wayland ×4

17.10 ×2

display-resolution ×2

xorg ×2

gksu ×1

intel-graphics ×1

radeon ×1

root ×1