Issues getting VNC running on Ubuntu Mate 20.04 on a Raspberry Pi 4

Hi all,

I'm trying to get VNC running on the above and I'll try and quickly run down how I managed to get to the position where it's almost working.
So I installed the arm64 image from RealVNC download and then obviously got this error as I'm running the arm64 Ubuntu Mate and RealVNC only offer an armhf one:

"error wrong architecture - run dpkg --add-architechture to add it and update afterwards".

So I forced the architecture by running:

sudo dpkg --add-architechture armhf

When I ran vncserver it kept complaining that some files of /usr/lib were missing, so I copied a load of them from this Github backup here to usr/lib and that seemed to allow vncserver to run.

Yes I know this is not the best method, but it seems Ubuntu Mate is still in beta. Anyway, vnc setup a password, key, etc. and gave me my local IP and a session number/port. When logging into it it asks for the username/password, waits a few seconds and then returns 'access is denied'.

I should note that when running the [xstartup.sh] script in /home/user/.vnc it used to say 'cannot find /home/user/.Xresources' file, but then again the same error appears in a Digital Ocean guide but isn't mentinoed as an issue? (link below)

I think I ran touch ~/.Xresources which made that error go away, but when I run the [xstartup.sh] it just leads to a blank terminal window.

The last two log files are here: [Pastebin1] and [Pastebin2] (see below). The second is the only one that shows the client being rejected. So, in short I think the VNC login errors are something to do with the frontend desktop environment.
Any ideas at all please?

Pastebin1
& Pastebin2

Digital Ocean guide

after:
sudo dpkg -add-architicture armhf

do:
sudo apt update

have you done it ?

This is what i have done:

armf is 32 version
to install on 64 version you have to tell the system:

sudo dpkg --add-architecture armhf
sudo apt update

sudo dpkg -i VNC-Viewer-6.20.529-Linux-ARM.deb
sudo apt install libx11-6
sudo apt --fix-broken install

Hello,
I have tried with the latest version of UbuntuMATE 20.04.1 (ubuntu-mate-20.04.1-desktop-amd64.iso downloaded today and flashed to SD).

I share my experience hoping to reach a common solution. What I did:

  1. sudo dpkg --add-architecture armhf && sudo apt update
  2. sudo apt install libx11-6
  3. download RealVNC Server for Raspberry (https://www.realvnc.com/download/file/vnc.files/VNC-Server-6.7.2-Linux-ARM.deb) and Install with GDebi

4.Start VNC service > sudo systemctl start vncserver-x11-serviced.service
5. Enable Server Start on reboot > sudo systemctl enable vncserver-x11-serviced.service
6. Enter credentials > sudo vnclicensewiz

Here I get an error message from RealVNC as “failed to read configutarion”.
From terminal I get:

vnclicensewiz_helper[2370]: ProcHelper: Unable to read configuration: read: Connection reset by peer (104)