Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
  • Copy the raw contents of the shell.
  • Run a shell terminal with this command
vi install.sh && chmod 755 install.sh && sudo ./install.sh

  • Paste the raw contents.
  • Then type :wq and hit enter.
  • When prompted enter the root password to install.
# 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/
# Install VNC Server on a Debian-compatible system (assuming download file named as above):
sudo dpkg -i VNC
# Enable VNC server at boot and start it now
sudo systemctl enable vncserver-x11-serviced.service
sudo systemctl start vncserver-x11-serviced.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment