출처:RealVNC Server on UBUNTU 20.10 (ARM64) on Raspberry Pi 4 (8GB) by jorgemtds - Raspberry Pi Forums
the way i solve this, is to download the the REALVNC debs from the raspberry Debian pool
check the apt source files
make sure you download the arm64 debs
then install via dpkg -i,
do NOT do the systemctl enable and start vnc server bit yet
because - you are going to get 3 errors regarding
libvcos.so
libvchiq_arm.so and
libbcm_host.so
just create links for the files it needs using the ones that were installed via the debs
then open a new terminal, and run the systemctl enable and start then you should see the vnc logo pop up in the top right
Just for clarify this.
Download REALVNC server 64bit deb from here https://archive.raspberrypi.org/debian/ ... _arm64.deb and install it using dpkg or using SSH:
wget https://archive.raspberrypi.org/debian/pool/main/r/realvnc-vnc/realvnc-vnc-server_6.7.2.43081_arm64.deb
sudo dpkg -i realvnc-vnc-server_6.7.2.43081_arm64.deb
wget https://archive.raspberrypi.org/debian/pool/main/r/realvnc-vnc/realvnc-vnc-server_6.7.2.43081_arm64.deb sudo dpkg -i realvnc-vnc-server_6.7.2.43081_arm64.deb
Then you have to create a link for the 3 files that are in the folder /usr/lib/aarch64-linux-gnu to the folder /usr/lib and the link has to end with .0:
cd /usr/lib/aarch64-linux-gnu
sudo ln libvcos.so /usr/lib/libvcos.so.0
sudo ln libvchiq_arm.so /usr/lib/libvchiq_arm.so.0
sudo ln libbcm_host.so /usr/lib/libbcm_host.so.0
cd /usr/lib/aarch64-linux-gnu sudo ln libvcos.so /usr/lib/libvcos.so.0 sudo ln libvchiq_arm.so /usr/lib/libvchiq_arm.so.0 sudo ln libbcm_host.so /usr/lib/libbcm_host.so.0
After that, you have to enable the 2 services and start it and reboot the pi:
sudo systemctl enable vncserver-virtuald.service
sudo systemctl enable vncserver-x11-serviced.service
sudo systemctl start vncserver-virtuald.service
sudo systemctl start vncserver-x11-serviced.service
sudo reboot
sudo systemctl enable vncserver-virtuald.service sudo systemctl enable vncserver-x11-serviced.service sudo systemctl start vncserver-virtuald.service sudo systemctl start vncserver-x11-serviced.service sudo reboot
라즈베리파이4 ubuntu mate 20.04LTS 에서 위와 같이 하니 잘된다..
'언어 > 라즈베리파이' 카테고리의 다른 글
How to build app for Raspberry Pi from Windows 7 (0) | 2021.02.12 |
---|---|
Backing up an OS Image and convert to Berryboot. Ubuntu Mate download Links. Raspberry Pi 4 (0) | 2021.02.10 |
라즈베리파이4 B+에 Ubuntu 20.04 설치하기 [USB] (0) | 2021.02.10 |
Setting Up Bluetooth Serial Port Profile on Raspberry Pi using sdptool (0) | 2021.01.10 |
Bluetooth (0) | 2021.01.10 |