From 29b598883493be0b23344b17a31a18e72c072636 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Mon, 24 Oct 2022 21:12:32 +0000 Subject: [PATCH] man page: Add FAQ entry about unsupported protocols --- wayvnc.scd | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/wayvnc.scd b/wayvnc.scd index f819a75..da69f5f 100644 --- a/wayvnc.scd +++ b/wayvnc.scd @@ -161,6 +161,19 @@ _XDG_CONFIG_HOME_ # FAQ +*Wayvnc complains that a protocol is not supported* + + The error might look like this: + ``` + wl_registry@2: error 0: invalid version for global zxdg_output_manager_v1 (4): have 2, wanted 3 + ERROR: ../src/main.c: 388: Screencopy protocol not supported by compositor. Exiting. Refer to FAQ section in man page. + ERROR: ../src/main.c: 1024: Failed to initialise wayland + ``` + + This means that your wayland compositor does not implement the + screencopy protocol and wayvnc won't work with it. Screencopy is + implemented by wlroots based compositors such as Sway and Wayfire. + *How can I run wayvnc in headless mode/over an SSH session?* Set the environment variables _WLR_BACKENDS_=headless and