rdp on linux

结论

  1. gnome 47的屏幕共享才有persistent session,即持久化会话——在重连时仍然保持会话,而不是像gnome 46的gnome-remote-desktop一样,直接注销用户。不过独立会话都会在结束时马上注销
  2. 幽灵账户+拓展u->g组权限失败,firefox/edge都无法保持原用户的cookie/localstorage,可能与keyring有关
  3. gnome-shell在加载nvidia驱动后,仍然调用mesa,并提高闪退的几率。(只有核显驱动时,可以正常打开blender;在加载nvidia驱动后,打开vscode就会强制结束rdp会话)
  4. 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

x11转发 xrdp freeRDP rdesktop x2go ThinLinc
特色 ssh,低带宽 无脑首选 高性能+rdp拓展 已停更 不活跃 商用

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。

本文作者:Nolca

本文链接:https://www.cnblogs.com/nolca/p/18689045

版权声明:本作品采用 收益分享revenue sharing 许可协议进行许可。

posted @   Nolca  阅读(31)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 ⏩intro 山姆精
  2. 2 🎸吉他 马叉
  3. 3 ☁升调 山姆精
  4. 4 🐦Flutter Virtual Riot/Madi
  5. 5 🎶纯律 山姆精
  6. 6 👻yeah~Color Bass! VR
🎸吉他 - 马叉
00:00 / 00:00
An audio error has occurred, player will skip forward in 2 seconds.