Ubuntu GUI on Android – Installation & Full Desktop Setup

Ubuntu GUI is a desktop-style Linux environment that can be installed on Android devices using the Termux terminal application without root access. It allows you to use Ubuntu with graphical windows, desktop menus, Linux applications, and a mouse-based interface directly from your mobile device for learning, development, and testing purposes. Here’s what you can do with Ubuntu GUI on Android:

  • Run Ubuntu desktop environment on Android.
  • Use Linux apps with graphical interface.
  • Practice Linux commands and package management.
  • Learn Ubuntu and Linux system operations.
  • Test development and server tools directly on mobile.

Requirements

Before installing Ubuntu GUI on Android device, make sure you have these requirements:

  • Termux Application (latest version).
  • VNC Viewer application.
  • Internet connection: 1GB – 2GB.
  • Free storage: Minimum 5GB.
  • RAM required: Minimum 3GB recommended.
  • Processor required: 64-bit CPU recommended.
  • Android version required: Android 7.0 or above.
  • Installation time: Approx 30–90 minutes.

Installation Commands

Open Termux app and run the following commands one by one.

Update Termux packages:

apt update && apt upgrade -y

Install required packages:

apt install wget curl proot tar -y

Download Ubuntu installation script:

wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu22/ubuntu22-xfce.sh -O ubuntu22-xfce.sh

Give executable permission and start installation:

chmod +x ubuntu22-xfce.sh && bash ubuntu22-xfce.sh

This command will start the Ubuntu GUI installation process and it may take around 30 minutes to 2 hours depending on your internet connection speed and device performance.

During the installation process, it will ask you to select your timezone and set a password for the VNC server. You can simply choose your timezone from the menu and set any 6-digit password for VNC login. After the installation is completed successfully, you will automatically enter the Ubuntu environment which starts with the root@localhost:~# shell.

Ubuntu GUI Setup on Android

Ubuntu GUI setup on Android allows you to use Ubuntu with a full desktop-style graphical interface directly on your mobile device. This setup provides windows, menus, mouse support, and desktop applications similar to a computer environment while running completely inside Termux without root access. Below are the steps to setup and use Ubuntu GUI on Android with the Ubuntu installation inside the Termux terminal application:

Start Ubuntu first:

./start-ubuntu22.sh

Now start VNC server:

vncserver

Now, Open the RealVNC Viewer app and follow these steps:

  • Tap on (+) icon on the right side bottom.
  • Enter the address: 127.0.0.1:5901
  • Enter the Name: Ubuntu Linux
  • Tap on the Create and Connect to start it.
  • Enter the VNC password you set during Fedora setup.
  • Ubuntu desktop will open on your Android device.

Ubuntu GUI is successfully installed, you can now use Ubuntu GUI on Android without root.

Stop Ubuntu GUI

Stop VNC server:

vncserver -kill :1

Exit Ubuntu:

exit

Start Ubuntu GUI Next Time

Open Termux and start Ubuntu:

./start-ubuntu22.sh

Start GUI mode:

vncserver

Now open VNC Viewer and connect again using:

localhost:5901

Basic Ubuntu Commands

These basic Ubuntu commands help you manage packages, files, folders, and system operations inside Ubuntu environment on Android. These commands are useful for learning Linux terminal operations and everyday Ubuntu tasks.

Update system packages:

apt update && apt upgrade -y

Install a package:

apt install git -y

Remove a package:

apt remove git -y

List files and folders:

ls

Create a folder:

mkdir foldername

Change directory:

cd foldername

Remove file:

rm filename

Remove folder:

rm -rf foldername

Clear terminal screen:

clear

End Note

Ubuntu GUI on Android provides a simple way to experience a full Linux desktop environment directly from a mobile device without needing root access. It is useful for learning Linux, practicing Ubuntu commands, testing desktop applications, and exploring Linux system environments anytime using Android and Termux.

SHARE THIS POST: