💾 Archived View for floppy.p1x.in › micro › article › raspberry-pi-vnc.gmi captured on 2023-03-20 at 17:53:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

Raspberry Pi VNC Configuration

Stock Raspberry Pi OS cames with VNC preloaded. All you need to do is run raspi-config and turn VPN on. That's it.

But there is a problem. It is a propyretary software and it's defaut configuration prevents connecting with anything other that they crappy application.

You try to login to your Pi and you get this error:

Unknown authentication scheme from VNC server: 13, 5, 6, 130, 192

Furtunately there is a simple fix for that.

Configuring Pi

Dive into the terminal.

Set VNC password

Just run this and confirm new password.

sudo vncpasswd -service

Change authentication scheme

You need to edit the main configuration file:

sudo nano /root/.vnc/config.d/vncserver-x11

and add/change the following line:

Authentication=VncAuth

Restart

Now you can restart the Pi or just the service:

sudo systemctl restart vncserver-x11-serviced

Done

Back to index