rlancaste / AstroPi3

GNU General Public License v3.0
96 stars 31 forks source link

VNC script fails for arm64 setupAstroPi3.sh #18

Open cibolo opened 3 years ago

cibolo commented 3 years ago

The script downloads wget https://www.realvnc.com/download/binary/latest/debian/arm/ -O VNC.deb which won't work for the arm64 architecture...

Thought I would let you know...

cibolo commented 3 years ago

it turns out that realvnc doesn't seem to support arm64 without some work, ended up installing tightvnc...

rlancaste commented 3 years ago

That's not good news, since I like RealVNC.

lantictac commented 3 years ago

I found a workaround script for installing RealVNC under Ubuntu with ARM64: https://github.com/mtbiker-s/ubuntu20.10-rpi-install-vnc

It worked on Ubuntu MATE 20.04 running on a Pi 4B 8GB.

However, in order to get headless VNC working I manually added the HDMI related lines to /boot/firmware/config.txt:

hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=46

The current AstroPi script only adds the lines if it sees them commented in /boot/firmware/config.txt - and those lines aren't present at all in this Ubuntu install. Not sure if it should just add them anyhow? Was there any benefit to this approach?

huwilerb commented 3 years ago

I also had trouble installing realVNC, and I found this solution: https://ubuntu-mate.community/t/realvnc-install-on-rpi4-with-ubuntumate-20-04-1-lts/22559.

Hope that helps