2020-02-18 20:31:01 +00:00
|
|
|
# FAQ
|
|
|
|
|
2020-02-21 22:41:47 +00:00
|
|
|
**Q: How can I run wayvnc in headless mode/over an SSH session?**
|
2020-02-18 20:31:01 +00:00
|
|
|
|
2020-02-21 22:39:22 +00:00
|
|
|
A: Set the environment variables `WLR_BACKENDS=headless` and
|
|
|
|
`WLR_LIBINPUT_NO_DEVICES=1` before starting sway, then run wayvnc as normal.
|
|
|
|
|
2020-02-21 22:41:47 +00:00
|
|
|
**Q: How can I pass my mod-key from Sway to the remote desktop session?**
|
2020-02-21 22:39:22 +00:00
|
|
|
|
|
|
|
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.
|