Hello everybody,
I'm a linux newbie, so please forgive my errors / misunderstandings.
I'm trying to install RealVNC on Ubuntu Mate 20.04.1 LTS (ubuntu-mate-20.04.1-desktop-amd64.iso) running on RPi4 8GB: I would like to be able to control my RPi4 from everywhere.
Apologies for being a complete beginner at all of this, but how would I be able to copy those specific files from the Github repository and transfer them to my /usr/lib folder? Thanks in advance!
I cannot get to make this work. When I try to start the service using sudo systemctl start vncserver-x11-serviced.service I get error that this service cannot be found.
This is a lot of help! I am having trouble at the very end. Once I get to the final step I encounter an error.
EDIT: I guess that this was the OP's error, but I have done all the steps in the solution and am still getting the error.
I login through the VNC server licensing window and apply changes to my computer to add it. and then when I hit apply, I get the following messages:
In the licensing window: "Failed to read configuration"
and in the terminal:
/usr/bin/vncserver-x11-core: error while loading shared libraries: /lib/libbcm_host.so: invalid ELF header
VNC Server Licensing 6.7.2 (r42622) ARMv6 (May 13 2020 19:30:16)
Copyright (C) 2002-2020 RealVNC Ltd.
RealVNC and VNC are trademarks of RealVNC Ltd and are protected by trademark
registrations and/or pending trademark applications in the European Union,
United States of America and other jurisdictions.
Protected by UK patent 2481870; US patent 8760366; EU patent 2652951.
See https://www.realvnc.com for information on VNC.
For third party acknowledgements see: https://www.realvnc.com/docs/6/foss.html
OS: Ubuntu 20.10, Linux 5.8.0, aarch64
<11> 2020-12-17T17:47:31.862Z julian-desktop vnclicensewiz_helper[34068]: ProcHelper: Unable to read server configuration: read: Connection reset by peer (104)
I also ran into issue with:
/usr/bin/vncserver-x11-core: error while loading shared libraries: /lib/libbcm_host.so: invalid ELF header
It turned out that the wget commands, provided above were the culprit: instead of libraries, they downloaded html pages, pointing to the libraries. Fix is easy - just download the libraries manually one by one. My Pi is running RealVNC right now and it is so much better than x11vnc I used in the past.
Command from " shambhala-lab" downloads html files, not original files. That causes /lib/libbcm_host.so: invalid ELF header. If you do that, then you need to delete this files manualy.
Single command to download all files from repository:
I'm also getting similar error as iWolly. I've tried to remove the files manually and to download it again with bager's single command but i'm getting this error: "Failed to read configuration" after signing up
output:
ubuntu@ubuntu:~$ sudo vnclicensewiz
/usr/bin/vncserver-x11-core: error while loading shared libraries: libbcm_host.so: cannot open shared object file: No such file or directory
VNC Server Licensing 6.7.4 (r43891) ARMv6 (Jan 20 2021 14:21:50)
Copyright (C) 2002-2020 RealVNC Ltd.
RealVNC and VNC are trademarks of RealVNC Ltd and are protected by trademark
registrations and/or pending trademark applications in the European Union,
United States of America and other jurisdictions.
Protected by UK patent 2481870; US patent 8760366; EU patent 2652951.
See https://www.realvnc.com for information on VNC.
For third party acknowledgements see: https://www.realvnc.com/docs/6/foss.html
OS: Ubuntu 18.04, Linux 5.4.0, aarch64
<11> 2021-07-13T14:11:11.076Z ubuntu vnclicensewiz_helper[5145]: ProcHelper: Unable to read server configuration: read: Connection reset by peer (104)
I notice it says: "libbcm_host.so: cannot open shared object file: No such file or directory" but the file does exist.
I'm using Raspberry Pi 4 with Ubuntu MATE 18.04, I want make the raspberry pi headless.