What packages do I need to use Wayland applications on Fedora Server Edition?

I’m trying to forward a GUI from my Fedora Server machine to another Linux machine via waypipe ssh. I currently get errors like this:

eframe crashed using the renderer: wgpu.Error: winit EventLoopError: os error at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.30.13/src/platform_impl/linux/wayland/event_loop/mod.rs:89: The wayland library could not be loaded 

I’m sure some graphical packages normally included in the Workstation edition are missing but just not certain which ones I need exactly. The remote machine is a laptop with a Ryzen 5700U CPU and Radeon integrated graphics.

locate libway
[...]
/usr/lib64/libwayland-client.so.0
[...]

rpm -qf /usr/lib64/libwayland-client.so.0
libwayland-client-1.24.0-1.fc43.x86_64

Thus try perhaps to install libwayland-client.

Thanks! I ended up also needing mesa-vulkan-drivers but now it works.

I’d like to do this with my server, can you share the full instructions with me?

You need this on both your local and remote (server) machine:

sudo dnf install waypipe

Then assuming your local machine is a laptop or something that is already running desktop Linux, you should only need this on the server:

sudo dnf install libwayland-client mesa-vulkan-drivers

I think whether you need vulkan or something else depends on the exact application you are trying to run. If you have an Nvidia card on the server then you might also have to install Nvidia drivers.

Then instead of ssh my-server, you use waypipe ssh my-server. You can start any graphical application from the shell of the server (ie. code main.rs or firefox) and it should pop up on your local machine.

Wondering if waypipe should have a dependency on libwayland-client to avoid a pitfall. Might be worth submitting a bug. But normally any wayland supporting gui app on the remote should take care of that (at least if installed by rpm/dnf).