This file contains 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 characters
# 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 |
This file contains 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 characters
# 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/ |