Skip to content

Instantly share code, notes, and snippets.

# Script to install RealVNC server
# Install the latest updates for the system
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
# Install RealVNC server
# sudo apt-get install -y realvnc-vnc-server
curl -L -o VNC https://www.realvnc.com/connect/download/binary/latest/debian/64-bit/
@daz
daz / tightvncserver-setup-script.sh
Last active December 7, 2023 18:05
Script to install VNC server and run at boot
# Setup VNC server
sudo apt-get remove -y tightvncserver
sudo apt-get install -y tightvncserver
mkdir -p "$HOME/.vnc"
vncpasswd -f <<< $PASSWORD > "$HOME/.vnc/passwd"
# VNC at startup
sudo tee /etc/init.d/tightvnc > /dev/null <<EOF