rdp on linux
结论
- gnome 47的屏幕共享才有persistent session,即持久化会话——在重连时仍然保持会话,而不是像gnome 46的gnome-remote-desktop一样,直接注销用户。不过独立会话都会在结束时马上注销
- 幽灵账户+拓展u->g组权限失败,firefox/edge都无法保持原用户的cookie/localstorage,可能与keyring有关
- gnome-shell在加载nvidia驱动后,仍然调用mesa,并提高闪退的几率。(只有核显驱动时,可以正常打开blender;在加载nvidia驱动后,打开vscode就会强制结束rdp会话)
- aRDP(#357) 尚未支持super key
其中如果我不用linux系统,不用gnome-shell,就不会有1~3点的麻烦了。
独立会话/屏幕共享 方案
parsec, sunshine+moonlight, gameviewer都试了一下
rdp | moonlight | parsec | gameviewer | |
---|---|---|---|---|
特点 | 远程独立会话 | 局域网表现最好 | 多人联机 | 无须公网ip |
原理 | 独立会话 | 屏幕共享 | 屏幕共享 | 屏幕共享 |
- 独立会话:需要选择用户登录(如Administrator或guest),会挤占已经登录的用户会话,但可以实现一台电脑,多人同时使用
- 屏幕共享:无法实现多人同时使用一台电脑,会抢占 键盘鼠标等输入设备 的焦点
rdp服务端 server-side
remminna是客户端
- Microsoft Remote Desktop Services (RDS)
省心,通过调整注册表,可以突破帧率、GPU限制。微软官方的RDP服务器端实现,广泛用于Windows Server操作系统。
linux
x11
wayland
Krdp | g-r-d | weston rdp | wprs | |
---|---|---|---|---|
仅kde plasma | 仅 gnome-shell | 仅weston | rootless | |
持久会话(可恢复性) | ≥gnome 47 |
https://www.202016.xyz/2024/09/02/gnome-wayland-remote-desktop.html
https://discuss.kde.org/t/remote-desktop-using-the-rdp-protocol-for-plasma-wayland/3616
wayoftheNLE
Dec 2024
Regarding the last point - this isn’t what GNOME calls Persistent remote desktop access (also what @alexvoda and @nl.smart ) linked above), in that the gnome-remote-desktop.service isn’t actually persistent - it is a remote login session kinda like XDMCP: when you connect, a new session is started for you and when your remote desktop client disconnect - the session is logged out.
关于最后一点 - 这不是 GNOME 所说的持久远程桌面访问(也是上面链接的 @alexvoda 和 @nl.smart ),因为 gnome-remote-desktop.service 实际上并不是持久 - 它是一个远程登录会话,有点像 XDMCP:当您连接时,会为您启动一个新会话,当您的远程桌面客户端断开连接时 - 该会话被注销。With the new release of GNOME Remote Desktop, sessions are now persistent. It’s the only Wayland solution that offers easy RDP access for remote users, and I’d say it actually beats the X solutions right now. At least for my use case.
随着 GNOME Remote Desktop 的新版本的发布,会话现在是持久的。它是唯一为远程用户提供轻松 RDP 访问的 Wayland 解决方案,我想说它现在实际上击败了 X 解决方案。至少对于我的用例来说是这样。
I haven’t yet upgraded my server to test out the new release, though some have already. So that’s an option for users who want this, though it only works with GNOME.
我还没有升级我的服务器来测试新版本,尽管有些已经升级了。所以对于想要这样做的用户来说,这是一个选择,尽管它只适用于 GNOME。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步