Open mms-neuro opened 1 year ago
Partial writes and errors need to be handled better here: https://github.com/any1/wayvnc/blame/master/src/data-control.c#L199
Have you tried making sure that your clipboard is empty when you connect?
Yes - I cleared the clipboard with xsel -bc
and checked that it is indeed empty.
Is this still an issue with the newest release?
Was there anything more after the last error? Could it be that you don't have core dumps enabled on your system?
$ wayvnc -f 60 192.168.2.31
Warning: ../wayvnc/src/ctl-server.c: 733: Deleting stale control socket path "/tmp/wayvncctl"
ERROR: ../wayvnc/src/data-control.c: 202: write from clipboard incomplete
$ wayvnc --version
wayvnc: v0.7.2-0-g4de85ac (makepkg)
neatvnc: v0.7.1-0-gb5b330b (makepkg)
aml: v0.3.0-0-gb83f357 (makepkg)
I had this problem as well... but only on Hyprland... (installed sway to sanity check myself and it worked there ). I don't think wayvnc directly supports Hyprland anyway as they're moving away from wlroots, but I'm not sure if this should be reported to the Hyprland side either because I doubt they're trying to support wayvnc(?) I'm not sure though.
Regarding debugging this, I'm not sure how to continue forward with it as mine also didn't have a coredump (despite everything else having one), no journalctl either.
I don't think wayvnc directly supports Hyprland
WayVNC doesn't directly support any particular compositor. If the compositor (correctly) implements the required protocols, it is supported.
Problem
When connecting to a wayvnc-session (via ssh-tunnel on localhost) on sway, the screen is shortly shown on the viewer before wayvnc closes with the error ERROR:
../src/data-control.c: 202: write from clipboard incomplete
Version:
Trace-Log
Stack trace
Reproducibility
vncviewer
(tiger vnc) and GNOME ConnectionsKRDC