Chapter 13. Remotely accessing a Wayland-based application

You can remotely launch a graphical Wayland-based application on a RHEL server and use it from the remote client on Wayland using waypipe.

Note

The desktop applications shipped with RHEL 9 support both the Wayland and X11 display protocols. However, Wayland is the preferred option when both are available.

13.1. Enabling waypipe on the client and server

To be able to launch an individual application on Wayland, you need to install the waypipe package.

Prerequisite

  • Both the client and server use the RHEL 9 operating system.

Procedure

  1. Install the waypipe package on the local system.

    # dnf install waypipe
  2. Install the waypipe package on the remote system.

    # dnf install waypipe

13.2. Launching an application remotely using waypipe

You can accesses a graphical application on Wayland on a RHEL server from a remote client using SSH and waypipe.

Note

This procedure does not work for legacy X11 applications. For X11 applications, see Remotely accessing an individual application on X11.

Prerequisites

  • A Wayland display server is running on your system. On RHEL 9, GNOME as a Wayland compositor is the default.
  • The waypipe package is installed on both the client and the remote system.
  • The application is capable of running natively on Wayland.

Procedure

  1. Launch the application remotely through waypipe and 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. Confirm that a server key is valid by checking its fingerprint.
  3. Continue connecting by typing yes.

    Warning: Permanently added 'remote-server' (ECDSA) to the list of known hosts.
  4. When prompted, type the server password.

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

13.3. Additional resources