pkg update
pkg install x11-repo
pkg install termux-x11-nightly
pkg install pulseaudio
pkg install proot-distro
proot-distro install ubuntu
proot-distro login ubuntu
apt update
apt upgrade
apt install sudo nano adduser -y
adduser droidmaster
nano /etc/sudoers
droidmaster AND SAME COMMAND AS ABOVE
su - droidmaster
whoami
sudo whoami
exit
exit
# Commands:
proot-distro login ubuntu --user droidmaster
sudo apt install dbus-x11 ubuntu-desktop -y
for file in $(find /usr -type f -iname "*login1*"); do rm -rf $file
done
cat <<EOF | sudo tee /etc/apt/preferences.d/nosnap.pref
# To prevent repository packages from triggering the installation of Snap,
# this file forbids snapd from being installed by APT.
# For more information: https://linuxmint-user-guide.readthedocs.io/en/latest/snap.html
Package: snapd
Pin: release a=*
Pin-Priority: -10
EOF
sudo add-apt-repository ppa:mozillateam/ppa
sudo apt-get update
sudo apt-get install firefox-esr
exit
wget https://raw.githubusercontent.com/LinuxDroidMaster/Termux-Desktops/main/scripts/proot_ubuntu/startgnome_ubuntu.sh
chmod +x startgnome_ubuntu.sh
./startgnome_ubuntu.sh