Fedora 31 to CentOS8 and vice versa does not work
Hi, nice project!
On Debian 10, it seems to work well, however, I've testing Fedora 31, CentOS 8 and I could not get to work:
CentOS8 as client
Packages Versions
rpm -qa | grep -i wayland
libwayland-server-1.15.0-1.el8.x86_64
libwayland-egl-1.15.0-1.el8.x86_64
libwayland-cursor-1.15.0-1.el8.x86_64
wayland-protocols-devel-1.17-1.el8.noarch
xorg-x11-server-Xwayland-1.20.3-8.el8.x86_64
libwayland-client-1.15.0-1.el8.x86_64
gnome-session-wayland-session-3.28.1-7.el8_1.x86_64
wayland-devel-1.15.0-1.el8.x86_64
waypipe -v
waypipe 0.6.1
Process
ps aux | grep way
gdm 1706 0.0 0.1 339604 2540 tty1 Ssl+ 09:09 0:00 /usr/libexec/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
gdm 1770 0.0 0.2 239156 4732 tty1 S+ 09:09 0:00 /usr/bin/Xwayland :1024 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6
educaci+ 19801 0.0 0.7 339604 13124 tty2 Ssl+ 13:25 0:00 /usr/libexec/gdm-wayland-session gnome-session
educaci+ 19935 0.0 2.4 240992 46424 tty2 S+ 13:25 0:00 /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6
sergio 26362 0.0 0.0 27136 1552 pts/3 Ss 18:17 0:00 waypipe -d --login-shell --unlink-socket -s /tmp/waypipe-server-djsOJV6P.sock --display wayland-djsOJV6P server
sergio 26417 0.1 2.2 145452 42228 pts/3 S 18:17 0:00 waypipe -d --login-shell --unlink-socket -s /tmp/waypipe-server-djsOJV6P.sock --display wayland-djsOJV6P server
educaci+ 26611 0.0 0.0 12108 1084 pts/1 R+ 18:20 0:00 grep --color=auto way
Attempt to "wayland" forwarding:
waypipe -d ssh sergio@192.168.80.49
c25865: 68.250449 [src/client.c:502] A wayland compositor is available. Proceeding.
sergio@192.168.80.49's password:
s16900: 71.476255 [src/server.c:425] I'm a server on /tmp/waypipe-server-NTIvWkFV.sock, running: -bash
gnome-boxes
C25865: 77.900254 [src/client.c: 48] Rejecting connection, protocol version (0) does not match (1). Check that Waypipe has the correct version.
s17062: 77.896633 [src/mainloop.c:535] Channel connection closed
S17062: 77.896700 [src/mainloop.c:1381] Channel hang up detected, no reconnection link, fatal
s17062: 77.896705 [src/mainloop.c:1420] Exiting main loop (-1, 0, 1), attempting close message
s17062: 77.896713 [src/mainloop.c:1483] Channel closed, hence no close notification
Unable to init server: No se pudo conectar: Conexión rehusada
(gnome-boxes:17057): Gtk-WARNING **: 18:06:17.897: cannot open display:
s16900: 77.898418 [src/util.c:216] Child process 17062 has died
Fedora 31 as a client
Package Versions
rpm -qa | grep -E 'wayland|waypipe'
kf5-kwayland-5.66.0-1.fc31.x86_64
qt5-qtwayland-5.13.2-2.fc31.x86_64
libwayland-server-1.17.0-2.fc31.i686
xorg-x11-server-Xwayland-1.20.6-1.fc31.x86_64
kwayland-integration-5.17.5-1.fc31.x86_64
libwayland-client-1.17.0-2.fc31.i686
plasma-workspace-wayland-5.17.5-1.fc31.x86_64
libwayland-client-1.17.0-2.fc31.x86_64
libwayland-egl-1.17.0-2.fc31.x86_64
libwayland-egl-1.17.0-2.fc31.i686
libwayland-cursor-1.17.0-2.fc31.i686
kwin-wayland-5.17.5-1.fc31.x86_64
libwayland-server-1.17.0-2.fc31.x86_64
libwayland-cursor-1.17.0-2.fc31.x86_64
waypipe-0.6.1-1.fc31.x86_64
Process
ps aux | grep -i wayland
root 5572 0.0 0.1 271932 16880 ? S 14:04 0:00 /usr/libexec/sddm-helper --socket /tmp/sddm-auth3b7e54eb-949c-4b01-86fe-e2f76f18fc4a --id 3 --start dbus-run-session /usr/bin/startplasma-wayland --user sergio
sergio 5582 0.0 0.0 5296 1276 tty2 Ss+ 14:04 0:00 dbus-run-session /usr/bin/startplasma-wayland
sergio 5677 0.0 0.0 122688 10508 tty2 Sl+ 14:05 0:00 /usr/bin/startplasma-wayland
sergio 5686 3.6 1.6 3684168 274216 tty2 Sl+ 14:05 9:08 /usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/libexec/startplasma-waylandsession
sergio 5691 1.4 0.6 575964 104872 tty2 Sl+ 14:05 3:28 /usr/bin/Xwayland -displayfd 47 -rootless -wm 50
sergio 5700 0.0 0.0 122620 10360 tty2 Sl+ 14:05 0:00 /usr/libexec/startplasma-waylandsession
sergio 17318 0.0 0.0 216132 896 pts/2 S+ 18:12 0:00 grep --color=auto -i wayland
Attempt to "wayland" forwarding
waypipe -d ssh sergio@192.168.80.66
c17386: 62.474773 [src/client.c:451] A wayland compositor is available. Proceeding.
sergio@192.168.80.66's password:
s26243: 65.547100 [src/server.c:425] I'm a server on /tmp/waypipe-server-hEKrgtyk.sock, running: -bash
gnome-disks
s26326: 72.462550 [src/mainloop.c:880] Read 0 new file descriptors, have 0 total now
s26326: 72.462575 [src/mainloop.c:969] We are transferring a data buffer with 24 bytes
s26326: 72.462579 [src/mainloop.c:1001] Channel message start (0 blobs, 0 bytes, 1 trailing, 0 tasks)
s26326: 72.462591 [src/mainloop.c:836] Sent 28-byte message from application to channel; 28-bytes in flight
s26326: 72.463773 [src/mainloop.c:535] Channel connection closed
S26326: 72.463818 [src/mainloop.c:1381] Channel hang up detected, no reconnection link, fatal
s26326: 72.463824 [src/mainloop.c:1421] Exiting main loop (-1, 0, 1), attempting close message
s26326: 72.463837 [src/mainloop.c:1483] Channel closed, hence no close notification
(gnome-disks:26322): GLib-CRITICAL **: 18:14:32.464: g_hash_table_destroy: assertion 'hash_table != NULL' failed
Unable to init server: No se pudo conectar: Conexión rehusada
(gnome-disks:26322): Gtk-WARNING **: 18:14:32.465: cannot open display:
s26243: 72.466225 [src/util.c:216] Child process 26326 has died
Am I doing something wrong, or is there a bug?
Thanks in advance