Hello Everyone, Welcome to My Blog, in today's Article, I'm gonna write on How To Install Professional Ubuntu On your Android device, I'm gonna be using the lunar version of Ubuntu and an Xfce GUI setup as an example. Read this Article till the end and watch the video tutorial below the Article to be able to understand how this is done in both the theorical and practical aspect.
Prerequisites:
Installation procedures:
Install Termux And enter the commands below to ↓↓↓
- Update Termux repositories
- Give storage permission to Termux
- Install Ubuntu CLI
- Login to Ubuntu terminal.
pkg update ; termux-setup-storage ; pkg install proot-distro ; proot-distro install ubuntu ; proot-distro login ubuntu
After this you can change your version of Ubuntu to lunar by editing your /etc/apt/sources.list file and change the default jammy script to lunar as described in the video tutorial below.
Once this is done, you can use the commands below to ↓↓↓
- Update and upgrade your terminal
- Install Xfce GUI
- Install Necessary packages for the sake of the desktop experience
- Get internal storage Access On Ubuntu
apt update && apt dist-upgrade -y ; apt install xfce4 xfce4-terminal xfce4-whiskermenu-plugin ubuntu-wallpapers dbus-x11 sudo plank git gedit dconf-editor yaru-theme-gtk yaru-theme-icon -y ; git clone https://github.com/adi1090x/rofi ; cd rofi ; ./setup.sh ; cd ; ln -s /data/data/com.termux/files/home/storage
Install Firefox and Chromium Browser with the commands below.
sudo apt install gnupg ; echo "deb http://ftp.debian.org/debian stable main contrib non-free" >> /etc/apt/sources.list ; sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 648ACFD622F3D138 ; sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 ; sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv-keys 605C66F00D6C9793 ; sudo apt update ; sudo apt install firefox-esr ; sudo apt install chromium
Now we create a shortcut command that can be used to connect to our vnc server on Ubuntu and give it expecutable permission with the command↓↓↓
echo "DISPLAY=:1 xfce4-session" > /usr/local/bin/startserver ; chmod +x /usr/local/bin/startserver
As soon as the above is done, open a new session to Termux and enter the commands below to. ↓↓↓
- Install x11-repo, x-server and tigervnc
- Create a shortcut command to make the vnc server public on the local host
pkg install x11-repo ; pkg install xorg-xhost tigervnc -y ; echo "vncserver -geometry 1600x700 -listen tcp :1 ; DISPLAY=:1 xhost +" > ../usr/bin/connectvnc ; chmod +x ../usr/bin/connectvnc
Connecting To VNC SERVER
After entering all of the commands above, to connect to vncserver, on Termux type the command below.
connectvnc
After that switch to ubuntu and type in the command below to connect to the vnc host
startserver
Other packages to Download
Do not hesitate to contact me or drop a comment below if you have any question concerning this Tutorial or any other tutorial that I have made.