Env. var XDG_RUNTIME_DIR not available, cannot place display socket for WAYLAND_DISPLAY="wayland-m62R3nKK" [SOLUTION]
waypipe -d ssh user@server
c31831: 99.870286 [src/client.c:716] I'm a client listening on '/tmp/' / 'waypipe-client-m62R3nKK.sock'
c31831: 99.870296 [src/client.c:718] version: 0.9.0
c31831: 99.870326 [src/client.c:763] A wayland compositor is available. Proceeding.
s4481: 0.249214 [src/server.c:602] I'm a server connecting on /tmp x waypipe-server-m62R3nKK.sock, running: (null)
s4481: 0.249234 [src/server.c:605] version: 0.9.0
S4481: 0.249238 [src/server.c:648] Env. var XDG_RUNTIME_DIR not available, cannot place display socket for WAYLAND_DISPLAY="wayland-m62R3nKK"
Connection to 192.168.0.3 closed.
c31831: 0.256959 [src/util.c:561] Child process 31832 has died
c31831: 0.256996 [src/client.c:575] Child (ssh) died, exiting
Host: arch linux, client: artix linux runit
Info
setting XDG_RUNTIME_DIR in .ssh/environment on host or client doesn't work, because file is sourced after this, so you have to use --remote-bin
SOLUTION
waypipe --remote-bin="export XDG_RUNTIME_DIR=/run/user/1000; waypipe" ssh user@server