Update vnc.md

This commit is contained in:
Maxim Devaev 2020-08-20 06:41:41 +03:00 committed by GitHub
parent 5f2a1e866e
commit b702fcaee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 11 deletions

View File

@ -6,18 +6,18 @@ As an alternative to the web interface, you can use VNC with various desktop cli
# Enabling VNC on Pi-KVM side # Enabling VNC on Pi-KVM side
1. Switch Pi-KVM filesystem to the read-write mode using command `rw`. 1. Switch Pi-KVM filesystem to the read-write mode using command `rw`.
2. Optional: change client's keyboard layout if you're using an non-US keyboard. To do this edit file `/etc/kvmd/override.yaml` (remove `{}` before adding lines): 2. Optional: change client's keyboard layout if you're using an non-US keyboard. To do this edit file `/etc/kvmd/override.yaml` (remove `{}` before adding lines):
```yaml ```yaml
vnc: vnc:
keymap: /usr/share/kvmd/keymaps/ru keymap: /usr/share/kvmd/keymaps/ru
``` ```
3. Optional: some VNC clients (for example TightVNC) can't use user/password authentication. In this case you can enable passhrases mode in `/etc/kvmd/override.yaml`: 3. Optional: some VNC clients (for example TightVNC) can't use user/password authentication. In this case you can enable passhrases mode in `/etc/kvmd/override.yaml`:
```yaml ```yaml
vnc: vnc:
auth: auth:
vncauth: vncauth:
enabled: true enabled: true
``` ```
To set passphrases edit file `/etc/kvmd/vncpasswd`. To set passphrases edit file `/etc/kvmd/vncpasswd`.
4. Enable `kvmd-vnc` daemon. VNC will be available on the port 5900: `systemctl enable --now kvmd-vnc`. 4. Enable `kvmd-vnc` daemon. VNC will be available on the port 5900: `systemctl enable --now kvmd-vnc`.
5. Switch filesystem to the read-only: `ro`. 5. Switch filesystem to the read-only: `ro`.