Auto-sync: 2026-04-17 08:37

This commit is contained in:
2026-04-17 08:38:12 +08:00
parent 6caa1c2f47
commit a0a48bd334
247 changed files with 6577 additions and 3061 deletions

View File

@@ -0,0 +1,41 @@
---
title: "Ubuntu用RustDesk远程登录出现不能使用Wayland登录的错误"
type: source
tags: [rustdesk, ubuntu, wayland, x11, remote-desktop]
date: 2026-04-17
---
## Source File
- [[raw/Home Office/Ubuntu用RustDesk远程登录出现不能使用Wayland登录的错误.md]]
## Summary
- 核心主题Ubuntu 24.04 使用 RustDesk 远程桌面时无法在 Wayland 登录界面工作的解决方案
- 问题域:远程桌面兼容性、系统显示协议配置
- 方法/机制:通过修改 GDM3 配置禁用 Wayland强制使用 X11 (Xorg) 显示协议
- 结论/价值:修改 /etc/gdm3/custom.conf 将 WaylandEnable=false 取消注释,重启 GDM 服务即可解决
## Key Claims
- Ubuntu 24.04 默认使用 Wayland 显示协议
- Wayland 出于安全设计,严格限制外部程序在用户未登录状态下获取屏幕控制权
- 禁用 Wayland 后RustDesk 能够在登录界面和登录后正常工作
## Key Quotes
> "这个问题产生的原因是 Ubuntu 24.04 默认使用了 Wayland 显示协议,而 Wayland 出于安全设计,严格限制了外部程序在用户未登录状态下(即 GDM 登录界面)获取屏幕控制权。"
## Key Concepts
- [[Wayland]]Linux 桌面环境的现代显示协议,安全性高但限制远程控制
- [[X11 (Xorg)]]:传统的 Linux 显示协议,兼容性更好,支持远程控制
- [[GDM3]]GNOME Display ManagerUbuntu 的登录管理器
## Key Entities
- [[RustDesk]]:开源远程桌面软件
- [[Ubuntu]]:开源 Linux 发行版
## Connections
- [[Ubuntu]] ← uses ← [[GDM3]]
- [[GDM3]] ← supports ← [[Wayland]]
- [[GDM3]] ← supports ← [[X11 (Xorg)]]
- [[RustDesk]] ← requires ← [[X11 (Xorg)]]
## Contradictions
- (暂无)