第 2 章 远程访问图形应用程序
您可以在 RHEL 服务器上远程启动图形应用程序,并从远程客户端使用它。从 RHEL 10 客户端中,您可以使用 waypipe
代理远程启动支持 Wayland 显示协议的应用程序,以及使用 X11 转发支持 X11 显示协议的应用程序。您还可以配置 RHEL 10 服务器,来通过具有 X11 转发的 SSH 远程启动图形应用程序。
2.1. 使用 waypipe 远程启动应用程序
您可以使用 SSH 和 waypipe
代理,从远程客户端访问 RHEL 服务器上基于 Wayland 的图形应用程序。
先决条件
-
waypipe
软件包已安装在客户端和远程系统上。 - 应用程序可以在 Wayland 上原生运行。
流程
通过
waypipe
和 SSH 远程启动应用程序。waypipe -c lz4=9 ssh <remote-server> <application-binary>
[local-user]$ waypipe -c lz4=9 ssh <remote-server> <application-binary> The authenticity of host '<remote-server> (<192.168.122.120>)' can't be established. ECDSA key fingerprint is SHA256:<uYwFlgtP/2YABMHKv5BtN7nHK9SHRL4hdYxAPJVK/kY>. Are you sure you want to continue connecting (yes/no/[fingerprint])?
Copy to Clipboard Copied! - 通过检查其指纹来确认服务器密钥有效。
输入
yes
来继续连接。Warning: Permanently added '<remote-server>' (ECDSA) to the list of known hosts.
Warning: Permanently added '<remote-server>' (ECDSA) to the list of known hosts.
Copy to Clipboard Copied! 出现提示时,输入服务器密码。
remote-user's password: [remote-user]$
remote-user's password: [remote-user]$
Copy to Clipboard Copied!