mirror of
https://github.com/tiyn/wiki.git
synced 2026-09-13 18:41:35 +02:00
VPN/VNC: Linked Up and Expanded wayvnc Entry
This commit is contained in:
@@ -176,6 +176,9 @@ kill <process-id>
|
||||
Files that are based on a remote server can be mounted as described in
|
||||
[the corresponding section](#mount-directory-with-sshfs) to set up complete remote development.
|
||||
|
||||
This can also be used for tunneling [VNC](/wiki/vnc.md) which is then called
|
||||
[VNC over SSH](/wiki/vnc.md#vnc-over-ssh).
|
||||
|
||||
### Specify Key Exchange Algorithms
|
||||
|
||||
It can be useful to specify the key exchange algorithms in the OpenSSH config file `~/.ssh/config`.
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
[wayvnc](https://github.com/any1/wayvnc) is a VNC server for [Linux](/wiki/linux.md) systems using
|
||||
[Waylands](/wiki/linux/wayland.md) compositors using wlroots.
|
||||
To use wayvnc the system with the server has to be on the same network as the client.
|
||||
This is also explained in the [screen sharing entry](/wiki/screen-sharing.md).
|
||||
To use wayvnc the client has to be able to reach the server either directly or through an
|
||||
[SSH tunnel](/wiki/linux/openssh.md#port-tunneling).
|
||||
It is the default VNC server used on modern [Raspberry Pi OS](/wiki/linux/raspberry_pi.md)
|
||||
installations.
|
||||
|
||||
## Setup
|
||||
|
||||
@@ -25,3 +27,23 @@ The name of the screen can be retrieved by using
|
||||
```sh
|
||||
wayvnc <ip> --output=<screen> --render-cursor
|
||||
```
|
||||
|
||||
### Binding to an IP Address
|
||||
|
||||
By default, wayvnc is reachable on the IP address it is bound to.
|
||||
Usually this is `0.0.0.0` and makes the VNC server on all network interfaces.
|
||||
|
||||
However, binding to `127.0.0.1` exposes the VNC server only on the loopback interface of
|
||||
[SSH tunnels](/wiki/linux/openssh.md).
|
||||
This may be useful when using [VNC over SSH](/wiki/vnc.md#vnc-over-ssh).
|
||||
|
||||
When using a systemd user service (for example
|
||||
`~/.config/systemd/user/wayvnc.service`), the same can be achieved by changing
|
||||
the `ExecStart` line to
|
||||
|
||||
```ini
|
||||
ExecStart=/usr/bin/wayvnc 127.0.0.1
|
||||
```
|
||||
|
||||
The server can then be accessed remotely using
|
||||
[VNC over SSH](/wiki/vnc.md#vnc-over-ssh).
|
||||
|
||||
Reference in New Issue
Block a user