# Real VNC & Raspberry Pi

- Link: https://www.agilicus.com/anyx-guide/raspberry-pi-vnc-server/
- Published: 2024-05-14T00:23:58+00:00
- Author: Don Bowman

1. [Home](https://www.agilicus.com/)
 2. Real VNC & Raspberry Pi

![Raspberry Pi running Agilicus software, illustrating edge computing and secure
remote access capabilities. Ideal for IoT solutions and secure network management
using Agilicus.com.](https://www.agilicus.com/www/ae2c7d35-raspberry-pi-1024x830.
png)

Remote Video, Open Source

---

## Real VNC & Raspberry Pi

How to setup Real VNC to interoperate with standard VNC on your Raspberry Pi.

[CONTACT](https://www.agilicus.com/contact-us/)

## Real VNC & Raspberry Pi

The Raspberry PI supports multiple operating system distributions. The default used
is often Raspbian, which has a VNC-similar server installed called Real VNC.

Real VNC is not enabled by default. It also uses a proprietary authentication scheme
by default.

To enable VNC on your Raspberry Pi and access via Agilicus Any-X, you may use the
option panel, changing the Authentication from “Unix password” to “VNC password”.
Or, if you prefer, you may edit the text files as below.

 1. Add **Authentication=VncAuth** to **/root/.vnc/config.d/vncserver-x11**

    ```wp-block-code
    # cat /root/.vnc/config.d/vncserver-x11
    _AnlLastConnTime=int64:0000000000000000
    _LastUpdateCheckSuccessTime=int64:01d8f9c1abad5c0a
    _LastUpdateCheckTime=int64:01d8f9c1abad5c0a
    Authentication=VncAuth
    Password=d00971cd8cacb99e
    ViewOnlyPassword=d00971cd8cacb99e
    ```

2. set a VNC password (optionally read-only)

    ```wp-block-code
    $ vncpasswd -service
    Password:
    Verify:
    ```

Now enable/restart the vnc service:

    ```wp-block-code
    systemctl enable vncserver-x11-serviced
    systemctl restart vncserver-x11-serviced
    ```

## Encryption

The Real VNC Server supports a super-set of the Encryption supported by Agilicus
AnyX. You may need to set “Prefer On” to allow the two sides to negotiate.

[⌊RealVNC Authentication⌉⌊RealVNC Authentication⌉[

![d33ca6a4-image](https://www.agilicus.com/www/d33ca6a4-image.png)

At this stage you can follow the standard directions to create a VNC Desktop

 1. Resources/Desktops/New
 2. Add user permissions to new desktop
 3. Open Profile and select the desktop

---
