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
● 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)
└─10585 /usr/bin/vncserver-x11-serviced -fg
Oct 21 13:07:14 raspberry vncserver-x11-serviced: /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: vncserver-x11-serviced: Server exited with status 127, restarting in 5s
Oct 21 13:07:20 raspberry vncserver-x11-serviced: /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: vncserver-x11-serviced: Server exited with status 127, restarting in 5s
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.