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 access 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

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.