📦 Termux Debian XFCE Startup Script

Android Termux-X11 Automation

An optimized automation script to boot a complete Linux desktop environment on Android devices via Termux & Termux-X11 without root privileges.


📸 Preview

Preview

🚀 Features


⚙️ Prerequisites & Package Installation

1. Native Termux Packages

Open Termux and run the following command to set up the core packages and repositories:

pkg update && pkg upgrade -y
pkg install x11-repo -y
pkg install termux-x11-nightly proot-distro pulseaudio -y
        

Install the base Debian rootfs system:

proot-distro install debian
        

2. Internal Debian GUI Packages

Log into your Debian proot environment using proot-distro login debian and install the required desktop components:

apt update && apt upgrade -y
apt install xfce4 xfce4-goodies enlightenment desktop-base exo-utils -y
        

📥 Setup Guide

1. Clone the Repository

git clone git@github.com:MDTLorg/termux-debian-sh.git
cd termux-debian-sh
        

2. Make the Script Executable

chmod +x debian-xfce.sh
        

⬇️ Direct Downloads

📦 Download Source ZIP
📄 Download Raw Script (.sh) | 🌐 GitHub Repository


▶️ How to Launch

Simply trigger the script to deploy the full desktop environment:

./debian-xfce.sh
        

🧠 Under the Hood

  1. Kills any active ghost or hanging Termux-X11 processes.
  2. Launches the Termux-X11 display server backend.
  3. Configures internal DISPLAY environment pathways.
  4. Mounts the Debian environment utilizing proot-distro.
  5. Initializes the XFCE desktop architecture effortlessly.

📂 Project Structure

termux-debian-sh/
│
├── debian-xfce.sh
└── README.md
        

👨‍💻 Maintained By

Developed under MDTLorg


📄 License

This utility is open-source software licensed under the MIT License.