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
.
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
Install the
waypipe
package on the local system.# dnf install waypipe
Install the
waypipe
package on the remote system.# dnf install waypipe
13.2. Launching an application remotely using waypipe
You can access a graphical application on Wayland on a RHEL server from a remote client using SSH and waypipe
.
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
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])?
- Confirm that a server key is valid by checking its fingerprint.
Continue connecting by typing
yes
.Warning: Permanently added 'remote-server' (ECDSA) to the list of known hosts.
When prompted, type the server password.
remote-user's password: [remote-user]$