This script automates the installation of a Debian-based XFCE desktop environment with a VNC server in Termux. It includes all necessary dependencies and provides a simple way to start and stop the VNC server.
Ensure you have Termux installed on your Android device.
- Open Termux and update packages:
pkg update && pkg upgrade -y
- Install
git
if not already installed:pkg install git -y
- Clone this repository:
git clone https://github.com/Keonbe/Termux-GUI_Desktop-Install
- Navigate to the cloned directory:
cd Termux-GUI_Desktop-Install
- Give execution permissions to the script:
chmod +x termux-desktop.sh
- Run the script:
./termux-desktop.sh
After installation, start the VNC server by running:
vncserver-start
Set your VNC password when prompted.
- Download a VNC viewer app from the app store (e.g., VNC Viewer by RealVNC).
- Open the VNC app and connect to:
127.0.0.1:5901 or localhost:1
- Set picture quality to high for a better experience.
To stop the VNC server, run:
vncserver-stop
- This script installs XFCE4 along with essential applications such as Firefox, Mousepad, and Neofetch.
- If any package fails to install, rerun the script to ensure all dependencies are met.
- Make sure to allow storage permissions in Termux if needed:
termux-setup-storage
This project is licensed under the MIT License.
For any issues, feel free to open an issue on the repository.