After upgrade of OS from Ubuntu 20.10 to 21.10 on Raspberry Pi cannot connect to vnc cerver

I recently upgraded my Pi from Ubuntu 20.10 to 21.10.

At the same time I upgraded vncserver to the latest version.

Now I cannot connect to the server with vnc viewer from anywhere, even from the same machine.  The error I receive is

VNC Server is not currently listening for Cloud connections.

I have gone through all the posted fixes that I could find, verified internet connectivity, checked firewall settings, signed out then back in to my account, and nothing seems to work.  Everything was working fine before the upgrade.  I even stopped and restarted the server daemon with no changes.

I then checked the status of the daemons and found this

[code]

● vncserver-x11-serviced.service - VNC Server in Service Mode daemon
Loaded: loaded (/lib/systemd/system/vncserver-x11-serviced.service; disabled; vendor preset: enabled)
Active: active (running) since Thu 2021-10-21 13:05:54 CDT; 1min 49s ago
Main PID: 10585 (vncserver-x11-s)
Tasks: 1 (limit: 8946)
Memory: 312.0K
CPU: 136ms
CGroup: /system.slice/vncserver-x11-serviced.service
└─10585 /usr/bin/vncserver-x11-serviced -fg

Oct 21 13:07:14 raspberry vncserver-x11-serviced[10614]: /usr/bin/vncserver-x11-core: error while loading shared libraries: libbcm_host.so: wrong ELF class: ELFCLASS64
Oct 21 13:07:14 raspberry vncserver-x11-serviced[10585]: vncserver-x11-serviced: Server exited with status 127, restarting in 5s
Oct 21 13:07:20 raspberry vncserver-x11-serviced[10615]: /usr/bin/vncserver-x11-core: error while loading shared libraries: libbcm_host.so: wrong ELF class: ELFCLASS64
Oct 21 13:07:20 raspberry vncserver-x11-serviced[10585]: vncserver-x11-serviced: Server exited with status 127, restarting in 5s

[/code]

It seems obvious that somehow the upgrade managed to load an x86 library instead of the arm library so things don't work.  I don't know which specific package contains that library so I cannot track down the proper one to replace the defective .so file. 

Does anyone have suggestions?

 

I can temporarily return to the earlier version of everything (I did after all have a backup image of the sd card), but really would like to stay up to date with the OS.

 

0

Comments

3 comments
  • Official comment

    Hi,

    Thanks for your post! Please note that Ubuntu on Raspberry Pi is not officially supported by RealVNC, so there may be other issues. For a supported OS, please use Raspberry Pi OS 32 bit (64 bit support is not yet available).

    You can try installing a beta version of 64 bit ARM VNC Server which may work, please see https://raspberrypi.stackexchange.com/questions/121199/realvnc-server-on-ubuntu-20-10-arm64-on-raspberry-pi-4/121205#121205

    Comment actions Permalink
  • The .so files in that script referenced there were all that was required to enable operation of version 6.7.4 on Ubuntu 21.10.  Once I copied all those .so files into /usr/lib and restarted both vncserver-virtuald.service and vncserver-x11-serviced.service then everything worked as expected.

    Thank you for the hint and assistance.

    I now have realvnc-vnc-server:armhf (installed from VNC-Server-6.7.4-Linux-ARM.deb)  properly functioning on 64 bit Ubuntu 21.10 on my Pi 4b.

    There were some changes apparently in the upgrade of Ubuntu from 20.10 to 21.10 as well as realvnc from 6.7.2 to 6.7.4 that caused the library mismatch.  The hardware (Pi 4b) was the same.

    0
    Comment actions Permalink
  • Hello,

     

    I'm waiting for the official ARM64 version.

    I'm using the beta version for 1 year approx. and until now has worked very flawlessly.

    Also I'm waiting for audio support for VNC Viewer for Android.

     

    I really love RealVNC, it works very nice in general!!!

     

    There is some approx. date for these releases?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post