How to install Ubuntu 21.04 Version in Android without root using termux


Lets start!

Required applications:-

1. Termux

2. VNC Viewer 

3. Xserver XSDL (optional)



Installation:-

After installing those above applications, at first use the blow command to install some required dependencies:-

apt update; apt upgrade -y

apt install proot-distro pulseaudio

apt install curl wget proot-distro -y

  


After that you have to install rootfs, they were almost of 1.7gb so make sure you have good internet. And don't forget to enable wake lock in termux which might help a lot.

curl -L -o install.sh https://git.io/hippo-installer

bash install.sh

hippo --install


 



Setting up sound:-

In termux just use this and done

pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1

 



Starting and shutting down:-

For starting you can use hippo only or 

proot-distro login hippo --shared-tmp --bind /dev/null:/proc/sys/kernel/cap_last_cap

neofetch

 



For closing, just logout or force stop Termux.


Cmds for first time:-

apt update;

apt upgrade -y;

echo "vncserver -kill :* && rm -rf /tmp && mkdir /tmp && tigervncserver -geometry 1280x720 -xstartup /usr/bin/startxfce4 -listen tcp :1" > /usr/bin/vncserver-start;

chmod 777 /usr/bin/vncserver-start

vncpasswd

vncserver

Connect to 127.0.0.1:5901 using VNCServer app

 



Starting GUI:-

All packages are pre-installed, just execute vncserver-start and connect to port localhost:1. And VNC Server password is secret.



Setting up Audio in Firefox:-

type in address bar 'about:config'

search 'sandbox'

turn 'media.cubeb.sandbox' to false

change 'security.sandbox.content.level' to '1'

refresh the webpage and accept the changes

restart the firefox

Next Post Previous Post
No Comment
Add Comment
comment url