27 lines
979 B
Markdown
27 lines
979 B
Markdown
# FAQ
|
|
|
|
**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 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?**
|
|
|
|
A: Create an almost empty mode in your sway config. Example:
|
|
```
|
|
mode passthrough {
|
|
bindsym $mod+Pause mode default
|
|
}
|
|
bindsym $mod+Pause mode passthrough
|
|
```
|
|
This makes it so that when you press $mod+Pause, all keybindings, except the one
|
|
to switch back, are disabled.
|
|
|
|
**Q: Not all symbols show up when I'm typing. What can I do to fix this?**
|
|
|
|
A: Try setting the keyboard layout in wayvnc to the one that most closely
|
|
matches the keyboard layout that you're using on the client side. An exact
|
|
layout isn't needed, just one that has all the symbols that you use.
|