How to Install Ubuntu 24.04 with Desktop Environments on Android Using Termux

Learn how to install Ubuntu 24.04 on your Android device using Termux, with multiple desktop environment options including LXQT, XFCE, GNOME, and KDE.

1
Update Termux Repositories

Open Termux and ensure your repositories are up to date before beginning the installation process.

2
Install Ubuntu 24.04

Execute the command to install Ubuntu 24.04 in Termux. Use the command 'pkg install proot-distro' followed by 'proot-distro install ubuntu'.

3
Log into Ubuntu

After installation, log into the Ubuntu environment to proceed with desktop environment setup.

4
Install LXQT Desktop (Lightweight Option)

For a lightweight desktop environment, install LXQT. Update repositories first, then install LXQT and VNC server to access the desktop remotely.

5
Configure VNC Server

Start the VNC server, create a password, and note the port number. Use a VNC viewer to connect to localhost with the specified port.

6
Set Up Sound (Optional)

To enable sound, install X11 repository and PulseAudio. Edit configuration files and restart the environment.

7
Install XFCE Desktop (Intermediate Option)

For a more customizable desktop, install XFCE. Choose LightDM as the display manager and set up VNC for remote access.

8
Install GNOME Desktop (Default Ubuntu Desktop)

Install the default GNOME desktop environment. Configure X startup and VNC server to access the desktop.

9
Install KDE Desktop (Heavy Option)

For users with more powerful devices, install the KDE desktop environment. Note that it is resource-intensive and may run slowly on low-spec devices.