How to install Ubuntu 20.04 GUI in your android phone ? Linux Installation | Working Method
Do you want to install Ubuntu GUI interface in your android phone ? If yes, you are at the right place. All you need to do is follow all the given instructions to get Ubuntu installed in your phone. Here, in this post you will learn to install Ubuntu 20.04 GUI in your android phone.
The requirements are :-
1. Android Phone
2. Termux ( Download )
3. VNC Viewer ( From Playstore)
4. At least 5GB storage
5. Good internet connection
6. Patience :)
Here we go,
First, download and install latest version of Termux from F-Droid not from google playstore it's because Termux downloaded from playstore no longer receive updates. It's better to go with termux from f-droid.
After completely installing termux, make sure to give it storage permission either by manaul way or with the following command.
termux-setup-storage
Now, execute the following commands to get the GUI interface installed in your android phone.
pkg update -y && pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/AndronixApp/AndronixOrigin/master/Installer/Ubuntu20/ubuntu20-xfce.sh -O ubuntu20-xfce.sh && chmod +x ubuntu20-xfce.sh && bash ubuntu20-xfce.sh
Executing the above commands will start the installation process. During the installation process, it will ask for some information such as your continent, timezone, keyboard layout, etc. for setting up your desktop environment. Depending upon your internet speed, the process may take time. Make sure not to interrupt the process, if you do , you have to start the process from the beginning again.
After complete installation, it will ask for vnc password. Make sure not to skip that phase, if you do, you won't be able to access your desktop environment. After typing the vnc password, you to retype to confirm it.
Now, you have to install and open VNC Viewer application in order to access the desktop. You will see a + icon. Tap it, a pop up window, will open up asking for Address and Name for establishing the connection to your desktop.
Now, in Address field, just type localhost:1 and in Name field, type your desktop name as you want. After filling up the fields, click on create button. After this click on the inverted exclamation mark near your computer name. Tap on the picture quality and set it to high. Now, click on connect button with green background.
Finally you are on your Ubuntu 20.04 GUI environment. Enjoy :)
To stop vncserver : type vncserver-stop and type 1
To start vncserver : type vncserver-start and choose 4 for for HD view.
To access CLI only : open termux and type ./start-ubuntu20.sh .
If you see root@localhost:~# , it means you are in CLI mode.