This repository contains a script to automatically install and configure VNC on Ubuntu. The script sets up the XFCE desktop environment and TigerVNC server, configures VNC to start at boot, and ensures the necessary firewall rules are in place.
- Installs XFCE desktop environment
- Installs TigerVNC server
- Configures VNC to start at boot
- Sets up a firewall rule to allow VNC connections
- Ubuntu 18.04 or later
- Root or sudo privileges
-
Clone the repository to your local machine:
git clone https://github.com/fobaty/vnc-installation-script.git cd vnc-installation-script -
Make the script executable:
chmod +x install_vnc.sh
-
Run the script with root privileges:
sudo ./install_vnc.sh
-
Follow the prompts to set your VNC password.
-
After the script completes, you can