Skip to content

Instantly share code, notes, and snippets.

Last active August 15, 2020 21:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
  • Copy the raw contents of the shell.
  • Run a shell terminal with this command
vi && chmod 755 && sudo ./

  • 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
# 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