Termux:X11 is an X server add-on for Termux that enables graphical applications to run on Android devices.
The tool solves the problem of running X11 graphical applications within Termux, a Linux terminal emulator for Android. It functions as a full-featured X server built with the Android NDK and optimized specifically for Termux's environment. Users can launch graphical applications and desktop environments by specifying them as startup commands, with the server handling rendering and display on the Android device.
Termux:X11 is suitable for developers and users who want to run desktop applications or full desktop environments like XFCE on Android. It requires Android 8 or later and consists of two components that must both be installed: an Android app distributed through the project's nightly releases and a companion Termux package available from the graphical repository. The tool includes performance optimization options, such as a shared UID variant that prevents Android from throttling CPU time to background apps, though this variant requires Termux to be installed from GitHub rather than alternative sources. For devices experiencing display issues, command-line flags like `-legacy-drawing` and `-force-bgra` provide workarounds. The project also supports running graphical applications within proot environments when the `--shared-tmp` option is used or when TMPDIR is configured appropriately.
Development activity shows consistent engagement with the codebase through regular updates to the nightly release channel. The project maintains active issue resolution and incorporates user-reported fixes for device-specific display problems. Documentation is regularly refined to address common setup challenges and edge cases users encounter across different Android devices and configurations.