Real VNC server doesn't work on Vim3 with Ubuntu 22.04

Which Khadas SBC do you use?

Vim 3 pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 22.04

Which version of system do you use? Khadas official images, self built images, or others?

Khadas official image

Please describe your issue below:

I use Real VNC server for remote connection to my Khadas Vim 3 pro. When I use Ubuntu 20.04 with the desktop environment - I can simple install Real VNC server using instructions here: [Install RealVNC Server on Ubuntu 20.04 for Remote Access - Learn With Omar](https://install instructions) and it works perfect . But if I install Ubuntu 22.04 - that recipe doesn’t work. I can not connect remotely to my Khadas Vim 3 pro with Ubuntu 22.04. I have also a Raspberry Pi 4B and I can not also install and use Real VNC server on the modern Raspberry Pi OS (Debian buckworm) but it worked successfully on the old Raspberry Pi OS (Debian bullseye). In Raspberry Pi 4B I have menu “raspi-config” where I can switch off wayland (instructions how to enable Real VNC on the modern Raspberry Pi OS). Maybe I need also to switch off something on Khadas Vim 3 pro to enable ability to use Real VNC server? What was changed in Ubuntu 22.04 which broken the Real VNC-support?

Post a console log of your issue below:


 

@Alexander_Gorodilov

For Ubuntu 22.04 version, since it uses Wayland as the display server, the traditional VNC remote desktop method may not be suitable.

And what should I do? Can I switch off Wayland? Or maybe I can do something else to connect remotely to my Khadas from an Android tablet

@Alexander_Gorodilov
Try this and leave a message if you have any questions.

sudo apt-get update
sudo apt-get install xserver-xorg-core

sudo apt-get install tigervnc-standalone-server tigervnc-xorg-extension tigervnc-viewer

sudo apt-get install gsfonts-x11 xfonts-base xfonts-75dpi xfonts-100dpi

Run

sudo vncserver :1 -localhost no -geometry 1920x1080 -depth 24

Before I reinstall my Ubuntu 20.04 and try this commands on Ubuntu 22.04 I want to know:

are this instructions also useable for Ubuntu 20.04? Can I try this on the actual Ubuntu 20.04 to be sure that this instructions are workable?

@Alexander_Gorodilov

There is no problem on ubuntu22.04(I’ve done the check), but you can also try it on ubuntu20.04. I wish you good luck and leave a message if you have any questions.

1 Like