sabamdarif/termux-desktop
sabamdarif/termux-desktop has 2,360 GitHub stars and 1,022 forks. GitHot measured +3 stars in 24 hours and +15 in 7 days. Last checked 2026-11-11 10:39 UTC. Last push 2026-11-01.
Install a full Linux desktop environment on your Android device with Termux X11 ( VNC optional) and also enable hardware acceleration
What you can do
- :books: Easy Setup: Easy-to-follow installation process
- :desktop_computer: Desktop Styles: Supports Xfce, LXQt, and Openbox... others with beautiful themes
- :mechanical_arm: Hardware Acceleration: It will install all the drivers in order to get hardware acceleration working under termux
- Termux:X11 (Default)
Measured star growth
- in 24h
- +3
- in 7 days
- +15
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalTermux Desktop
Easily Install Termux Native GUI Desktop
Key Features:
- :books: Easy Setup: Easy-to-follow installation process
- :desktop_computer: Desktop Styles: Supports Xfce, LXQt, and Openbox... others with beautiful themes
- :mechanical_arm: Hardware Acceleration: It will install all the drivers in order to get hardware acceleration working under termux
- :paperclips: GUI Access:
- Termux:X11 (Default)
- VNC (optional and only available if you chose
customduring the setup)
- :package: Package Management:
- APT (Termux's default and recommended)
- PACMAN (pacman may be buggy, not well tested)
- :shopping: App Store: An appstore to install apps
- :package: Container It lets you use a proot/chroot distro as a container to install more apps than Termux normally supports
- And a lot more, try it
Quick Navigation:
:package: Distro Containers • :mechanical_arm: Hardware Acceleration • :wine_glass: Wine • :bulb: Others
Getting Started:
1. Ensure Requirements Are Met:
[!NOTE] This Only Works On Termux From GitHub Or F-Droid. Avoid using Termux from Google Play that doesn't work due to API limitations.
| Component | Requirement | Download |
|---|---|---|
| Android Version | 8.0+ | |
| Termux | Latest | GitHub • F-Droid |
| Termux:X11 | Latest | GitHub |
| Termux-API | Latest | GitHub |
| RAM | 3GB+ | |
| Storage | 3-4GB | |
| Internet | 1.5-2GB | |
| VNC Viewer | Optional | RealVNC • NetHunter Kex |
2. Currently supported Desktop Environments and Window Managers:
[!TIP] Click on the Blue links to see all the available Styles for that De/Wm
| Desktop Environments | Window Managers |
|---|---|
| Xfce | Openbox |
| LXQt | i3 |
| MATE | dwm |
| GNOME | bspwm |
| Cinnamon | Awesome |
| KDE Plasma | Fluxbox |
| IceWM | |
| WMaker |
3. Start Installation:
[!TIP] Fresh installations are recommended for best results.
[!IMPORTANT]
$\textsf{\color{#d73a49}{ANDROID 12+ USERS}}$
Disable Phantom Process Killer before installation. Learn how
One Liner:
bash <(curl -Lf https://raw.githubusercontent.com/sabamdarif/termux-desktop/main/setup-termux-desktop)
Or:
- Link shortened using open source link shortener: https://kutt.to/
bash <(curl -Lf kutt.to/setup-termux-desktop)
[!TIP] You can also do a lite install which will not install all the optional packages. To do that, first run
export LITE=trueorexport LITE=1, then run the installer
🎥 Video Tutorial
Full Installation Guide: Watch on YouTube
4. Usage Instructions:
- Commands for starting and stopping Termux:X11 and VNC sessions are provided below.
Command Reference:
Start Termux:X11
tx11start [options]
Options:
--xstartup: Start the user-specified xstartup.--nogpu: Disable GPU acceleration.--legacy: Enable legacy drawing.- Combine options for specific configurations (e.g.,
tx11start --nogpu --legacy). --help: Show help.
Full Example:
tx11startto start Termux:X11 with gpu accelerationtx11start --xstartup cinnamon-sessionto start cinnamon even if you setup with xfce or anything elsetx11start --nogputo start Termux:X11 without gpu accelerationtx11start --nogpu --legacyto start Termux:X11 without gpu acceleration and -legacy-drawingtx11start --legacyto start Termux:X11 with -legacy-drawing (with gpu)tx11start --debug --OTHER-PARAMETERSTo see log of that commandtx11start --debug --nogpu To see tx11start --nogpu's log
Stop Termux:X11
tx11stop [-f]
Options:
-f: Force stop.--help: Show help.
Start VNC
vncstart [options]
Options:
--nogpu: Disable GPU acceleration.--help: Show help.
Stop VNC
vncstop [-f]
Options:
-f: Force stop.--help: Show help.
GUI Commands
gui [options]
Options:
--start: Start GUI (usevncortx11as arguments).--display: Launch the current desktop environment on another X11 display server over the same network.--stop: Stop GUI.--kill: Stop all GUI sessions.--help: Show help.
Full Example:
If you select only one of them to access gui
gui --start / gui -lto start Termux guigui --stop / gui -sto stop guigui --display / gui -d<IP_ADDRESS>:<DISPLAY_PORT>To launch the current desktop environment on another X11 display server over the same network
If you select both for gui access
gui -l / --startvncto start VNCgui -l / --starttx11to start Termux:X11gui -s / --stopvncto stop VNCgui -s / --stoptx11to stop Termux:X11gui -k / --kill / -killto kill both vncserver and Termux:x11 At Oncegui --display / gui -d<IP_ADDRESS>:<DISPLAY_PORT>To launch the current desktop environment on another X11 display server over the same network. For more click :- Here
Setup Commands
setup-termux-desktop [options]
Options:
--change style: Change desktop style.--change hw: Modify hardware acceleration settings.--reset: Reset all changes.--remove: Uninstall Termux Desktop.--local-config: Start the installation from a pre-made config file.--help: Show help.
Full Example:
setup-termux-desktop --change styleTo Change Desktop Stylesetup-termux-desktop --change hwTo Change Hardware Acceleration Methodsetup-termux-desktop --change pdTo Change Installed Proot-Distrosetup-termux-desktop --change autostartTo change autostart behavioursetup-termux-desktop --change displayTo change termux:x11 display portsetup-termux-desktop --change deTo switch between different desktop environment or window manager
setup-termux-desktop --reinstall icons / themes /configTo Reinstall Icons / Themes / Configsetup-termux-desktop --reinstall icons,themes,..etcTo Reinstall Them At Once
setup-termux-desktop --resetTo Reset All Changes Made By This Script Without Uninstalling The Packages
setup-termux-desktop --remove / -rTo Remove Termux Desktop
setup-termux-desktop --local-config / -configStart the installation from a pre-made config file > Each time you install the desktop environment or make some changes using the script it writes all your config to the/data/data/com.termux/files/usr/etc/termux-desktop/configuration.conffile. Copy that somewhere else, so next time when you want to install the desktop environment with that old config all you have to do issetup-termux-desktop --local-config /path/to/configuration.conf
setup-termux-desktop --debug(At the start) To generate a log file for any of the above commandssetup-termux-desktop --debug --installTo create a log of whole installation process
Associated Repos:
Termux-AppStore License: GPL
chroot-distro License: GPL
📜 License
This project is licensed under the GNU General Public License v3.0
Copyright (C) 2024 sabamdarif
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Acknowledgments:
Special thanks to:
- LinuxDroidMaster/Termux-Desktops
- phoenixbyrd/Termux_XFCE
- Yisus7u7/termux-desktop-xfce
- adi1090x/termux-desktop
- Generator/termux-motd
- ar37-rs/virgl-angle
- mayTermux/myTermux
- catppuccin
- MastaG/mesa-turnip-ppa
- lfdevs/mesa-for-android-container
- agnostic-apollo/Android-Docs
If you enjoy this project, consider giving it a star! :star2:
Support the Project
If you find Termux Desktop useful and would like to support its development, consider buying me a coffee! Your support helps me maintain and improve this project.
- USDT (BEP20,ERC20):-
0x1d216cf986d95491a479ffe5415dff18dded7e71 - USDT (TRC20):-
TCjRKPLG4BgNdHibt2yeAwgaBZVB4JoPaD - BTC:-
13Q7xf3qZ9xH81rS2gev8N4vD92L9wYiKH - DOGE (dogecoin):-
DJkMCnBAFG14TV3BqZKmbbjD8Pi1zKLLG6 - ETH (ERC20):-
0x1d216cf986d95491a479ffe5415dff18dded7e71
Every contribution, no matter how small, helps keep this project alive and growing! ❤️
Join the conversation: Telegram Chat.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,837 starspublic-apis/public-apis
A collective list of free APIs
498,195 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
452,406 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,363 stars