-
-
Save siyanhu/c44b0f1b10ec16421d9108f5c24f95bd to your computer and use it in GitHub Desktop.
Revisions
-
vietanhdev revised this gist
Nov 21, 2021 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ #!/bin/bash mkdir realvncserversetup && cd realvncserversetup echo Add armhf arch sudo dpkg --add-architecture armhf && sudo apt update -
vietanhdev created this gist
Aug 17, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ 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