How to install Ubuntu on Android || No Root

So Hello welcome to my website and So friend I have to Show how to install Ubuntu on Android ||  No Root 



So if you say install from Ubuntu 22.04 on thermos and the PNC so she install Linux desktop and for the man stop of the Ubuntu like debain like flight deepin 

So If you sa install repo and to update pkg and to install root on termux and full list update

pkg update && pkg upgrade 


 If you install on Ubuntu on desktop but you have install from distro and to setup and full using desktop 

pkg install proot-distro 


So If  you install Ubuntu distro simple command on create Ubuntu 

nano $PREFIX/etc/proot-distro/ubuntu-lts.sh

 

Now its will be starting download and to install Ubuntu 22.04 with jammy version and to tap install other Linux is best code version use Ctrl x and Y 


# This is a default distribution plug-in.
# Do not modify this file as your changes will be overwrit>
# If you want customize installation, please make a copy.
DISTRO_NAME="Ubuntu LTS"
DISTRO_COMMENT="LTS release (jammy). Not available for x86>

TARBALL_URL['aarch64']="https://github.com/termux/proot-di>
TARBALL_SHA256['aarch64']="6517259b712de5429ebb630e537f2ff>
TARBALL_URL['arm']="https://github.com/termux/proot-distro>
TARBALL_SHA256['arm']="1efa6ab1c35194339d1788bba9f5d570f29>
TARBALL_URL['x86_64']="https://github.com/termux/proot-dis>
TARBALL_SHA256['x86_64']="07b0c89897348f4312ce087e521eadf7>

distro_setup() {
        # Configure en_US.UTF-8 locale.
        sed -i -E 's/#[[:space:]]?(en_US.UTF-8[[:space:]]+>
        run_proot_cmd DEBIAN_FRONTEND=noninteractive dpkg->
}


Now you have to install distro and to tap complete to install distro 

proot-distro install ubuntu-lts


Now its downloading start and make update from distro 

proot-distro login ubuntu-lts




So If The start and Now its Update and start update 

 apt update && apt install sudo nano 

 

It will ask you to set you password so just create your password and then keep pressing enter for rest of the questions.


Now login with the user you created 


su <Your username>


Next we need to setup a local user, as it is better to use a local user instead of root user 

ext 

export USER=<Your username> ; adduser $USER ; echo "$USER ALL=(ALL:ALL) ALL" >> /etc/sudoers

 


 Above change ubuntu if you change the username, while creating the user




Installing GUI



Here, we will be installing Xfce desktop as it is lightweight





sudo apt install xfce4 xfce4-terminal xfce4-whiskermenu-plugin  -y 




Now we will install themes, icons, plank and vncserver to access GUI


sudo apt install yaru-theme-gtk yaru-theme-icon plank dbus-x11 tigervnc-standalone-server 


Execute following to create a shortcut to start and stop vncserver

echo "vncserver -geometry 1280x720 -xstartup /usr/bin/startxfce4" >> /usr/local/bin/vncstart ; echo "vncserver -kill :1" >> /usr/local/bin/vncstop ; chmod +x /usr/local/bin/vncst* 


 


 Above -geometry flag is to set your screen resolution you can change it according to you.

Now we are all set, just execute following to start vncserver 

vncstart

Tips and Tricks

My name is Junaid you can see tech Junaid Technology and so friend subscribe my YouTube channel

Post a Comment (0)
Previous Post Next Post