9

An answer to How to forward X over SSH to run graphics applications remotely? explains how to forward GUI applications via an X11-compliant display server (like XOrg).

However, I see no equivalent for accessing remote systems using solely Wayland compositors on both ends. Does it exist, or must a combination of X11 and/or XWayland and Wayland be utilized?

1 Answer 1

6

waypipe is the closest equivalent. It is not raw Wayland-over-SSH, as Wayland is not primarily a network-oriented protocol – as I understand, it relies heavily on shared memory (whereas in X11 that's completely optional) – but it's probably as close as you can get.

$ waypipe ssh foo@bar

Some compositors, such as GNOME Shell, now integrate RDP and/or VNC directly into the compositor; it's likely to provide better performance.

8
  • same problem here but your solution causes "WAYLAND_DISPLAY not set, exiting". Do you have more details ? Commented Jun 5, 2024 at 8:42
  • @user3732793: Do you get the message from local waypipe or from the remote program? Commented Jun 5, 2024 at 8:53
  • in the local console when conneting to the remote machine like that Commented Jun 5, 2024 at 9:52
  • @user3732793: And are you running a Wayland environment locally? Commented Jun 5, 2024 at 9:52
  • 2
    @user3732793: It has Wayland for its remote display, but nearly all of the actual apps you'd be running are either dual X11/Wayland compatible or even X11-only, so if that's what you're looking for – just use ssh -X -Y. (After all, the whole point of X11 forwarding is that it doesn't use the remote display – it connects to your local one – so whether the remote display is Wayland or X11 does not matter.) Just keep the superuser.com/q/1843704 issue in mind when doing so. Commented Jun 5, 2024 at 10:05

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.