Skip to content

Instantly share code, notes, and snippets.

@skazemi
Created June 1, 2021 15:18
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save skazemi/67a28afb77e366d82a4eb9353373c5f2 to your computer and use it in GitHub Desktop.
Save skazemi/67a28afb77e366d82a4eb9353373c5f2 to your computer and use it in GitHub Desktop.
Install RealVNC server on arm64 linux (Ubuntu on RasPi)
mkdir realvncserversetup && cd realvncserversetup
echo Add armhf arch
sudo dpkg --add-architecture armhf && sudo apt update
echo Download and install RealVNC server
wget -nv https://www.realvnc.com/download/file/vnc.files/VNC-Server-6.7.4-Linux-ARM.deb && sudo apt install ./VNC-Server-6.7.4-Linux-ARM.deb
echo Download and install dependencies
files=( libbcm_host.so libvcos.so libmmal.so libmmal_core.so libmmal_components.so \
libmmal_util.so libmmal_vc_client.so libvchiq_arm.so libvcsm.so libcontainers.so )
for i in "${files[@]}"
do
wget -nv https://github.com/raspberrypi/firmware/raw/master/opt/vc/lib/$i
done
sudo mv *.so /usr/lib/
cd ..
echo Enable VNC service on boot
sudo systemctl enable vncserver-x11-serviced.service
echo Start VNC service
sudo systemctl start vncserver-x11-serviced.service
@Marietto2008
Copy link

Marietto2008 commented Aug 8, 2021

what do u think about using remmina as client and xrdp as server ? it supports the audio,VNC doesn't. I'm trying to accomplish this task.

@elschopi
Copy link

elschopi commented Aug 9, 2021

I don't have any experience with both remmina as well as xrdp. I've always used RealVNC as a VNC provider for my raspberry pi systems ( two Pi 3B+, one Pi 4, two RPi Zero W) or, where graphical interface was not needed, SSH.
For windows systems, I'm using Teamviewer.
As far as I understand it, you're trying to connect from a Unix / Ubuntu PC to a raspberry? If so, my guess is that using your described software should work.

@Marietto2008
Copy link

I've installed remmina --version 1.4.17 (git n/a) on FreeBSD 13 and xfreerdp = 2.3.0 server on Ubuntu 21.04 emulated with bhyve on FreeBSD 13. I've chosen remmina + xrdp because it supports the audio. VNC doesn't. If u use VNC and VNC does not support audio,how can you hear the music coming from the youtube videos,for example ?

@elschopi
Copy link

I'm sorry, but I don't use the remote connection for such things, I'm using the remote connection for programming and working on the remote system. I don't need sound, as I only do programming in Python, as well as maintaining installed software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment