How to install and use Ubuntu on android | Ubuntu gui mode on android

Ubuntu is a free, open-source Linux operating system used as an alternative to Windows or macOS, known for being secure, fast, and user-friendly.




Here’s the simple & safe way to install Ubuntu on Android using Termux 👇
(No root needed)

🔹 Step 1: Install Termux

  • Install Termux from GitHub or F-Droid (not Play Store)

🔹 Step 2: Update Termux

pkg update && pkg upgrade -y

🔹 Step 3: Install required package

pkg install proot-distro -y

🔹 Step 4: Install Ubuntu

proot-distro install ubuntu

🔹 Step 5: Start Ubuntu

proot-distro login ubuntu

🎉 Ubuntu is now running inside Termux

 You can check the os name entering the following command 

lsb_release -a


Now setup the GUI mode of Ubuntu 

Step1: open the AnLinux app

Select Desktop environment then choose Ubuntu then select mate

Now copy the entire code and paste it on your termux 

It will take 20-30 minutes then set up your vncserver by choosing a eight digit password for it

Step2: Open RVNC viewer Application 

Open your vnc viewer Application and tap on tha plus icon and make a desktop for it . Choose the address as localhost:1 and enter the name Ubuntu 

Now entering the same eight digit password you will be able to enter the desktop environment of the Ubuntu on your Android device.

To stop vncserver use the command vncserver-stop  on Ubuntu CLI on termux 


Some key points 

1.Enter to ubuntu just typing a single code

It is possible, just follow the following steps on termux step by step

1.    cd ~

2.   echo 'proot-distro login ubuntu'>$PREFIX/bin/ubuntu

3.    chmod +x $PREFIX/bin/ubuntu


How to adjust the screen 

To adjust the Ubuntu gui screen follow the steps 

1.Login to ubuntu by entering just ubuntu 

2. nano .vnc/xstartup

3. Add a line

vncserver -geometry 1600x720

Replace 1600x720 according to your device screen size




Post a Comment

0 Comments