From 93335e7ba57862e74c6c6a09415d1467a643f748 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Tue, 18 Jan 2022 11:45:54 +0000 Subject: [PATCH] FAQ: Mention WAYLAND_DISPLAY --- FAQ.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 9c49670..c0ca600 100644 --- a/FAQ.md +++ b/FAQ.md @@ -3,7 +3,9 @@ **Q: How can I run wayvnc in headless mode/over an SSH session?** A: Set the environment variables `WLR_BACKENDS=headless` and -`WLR_LIBINPUT_NO_DEVICES=1` before starting sway, then run wayvnc as normal. +`WLR_LIBINPUT_NO_DEVICES=1` before starting sway, then set +`WAYLAND_DISPLAY=wayland-1` and run wayvnc. For older versions of sway, +`WAYLAND_DISPLAY` is `wayland-0`. Try that if `wayland-1` doesn't work. **Q: How can I pass my mod-key from Sway to the remote desktop session?**