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.
|
2020-03-28 16:58:13 +00:00
|
|
|
|
2020-03-28 16:59:31 +00:00
|
|
|
**Q: Wayvnc changes Sway's keyboard layout. Can this be fixed?**
|
2020-03-28 16:58:13 +00:00
|
|
|
|
|
|
|
A: This happens because of a bug in how the virtual keyboard protocol interacts
|
|
|
|
with a feature in sway called smart keyboard grouping. This can be remedied by
|
|
|
|
either putting wayvnc on a separate seat or turning off smart keyboard grouping
|
|
|
|
in sway.
|
|
|
|
|
|
|
|
Putting wayvnc in its own seat is done like this:
|
|
|
|
```
|
|
|
|
swaymsg seat wayvnc fallback false # create a new seat
|
|
|
|
wayvnc --seat=wayvnc
|
|
|
|
```
|
|
|
|
|
|
|
|
Smart keyboard grouping can be turned off like this:
|
|
|
|
```
|
|
|
|
swaymsg seat seat0 keyboard_grouping none
|
|
|
|
```
|
|
|
|
|
|
|
|
**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.
|