13.2. 使用 waypipe 远程启动应用程序

您可以使用 SSH 和 waypipe 从远程客户端访问 RHEL 服务器上 Wayland 上的图形应用程序。

注意

此流程不适用于旧的 X11 应用程序。对于 X11 应用程序,请参阅 远程访问 X11 上的单个应用程序

先决条件

  • Wayland 显示服务器在您的系统上运行。在 RHEL 9 上,GNOME 作为 Wayland 合成器是默认的。
  • waypipe 软件包已安装在客户端和远程系统上。
  • 应用程序能够在 Wayland 上原生运行。

流程

  1. 通过 waypipe 和 SSH 远程启动应用程序。

    [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])?
  2. 通过检查其指纹来确认服务器密钥有效。
  3. 输入 yes 来继续连接。

    Warning: Permanently added 'remote-server' (ECDSA) to the list of known hosts.
  4. 出现提示时,输入服务器密码。

    remote-user's password:
    [remote-user]$