This installs Ubuntu 20 with xfce4 desktop on Termux. All scripts are from Andronix, I just compose and edit them to make the installer easier and smoother. It includes:
- Ubuntu 20
- XFCE4 Desktop
- TigerVNC Server
- Non-root Account Creation
- Audio Support
- Chromium Browser
Copy and paste this command to Termux:
pkg install wget curl proot tar -y && wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh && chmod +x ubuntu.sh && bash ubuntu.sh
After installation, on Termux, you can execute this command to run ubuntu:
./start-ubuntu20.sh
To exit ubuntu you can simply run exit
command. This will stop vncserver and some services.
exit
On Ubuntu, run this command to start VNC Server:
vncserver-start
Then you can use VNC Client to connect to 127.0.0.1:1
or 127.0.0.1:5901
On Ubuntu, run this command to stop VNC Server:
vncserver-stop
If you get an issue message like this:
groups: cannot find name for group ID 20305
groups: cannot find name for group ID 50305
You can simply add group with this command:
sudo groupadd --gid 20305 permagrp5
sudo groupadd --gid 50305 permagrp6
-
VSCode ARM is now officially supported by Microsoft. You can download it here: https://code.visualstudio.com/download
-
If VSCode does not run, try install older version. E.g. https://update.code.visualstudio.com/1.50.1/linux-deb-arm64/stable
On Ubuntu, run this command to install LibreOffice with patch
wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/librepatch.sh && chmod +x librepatch.sh && bash librepatch.sh
On Ubuntu, run this command to install FireFox
sudo apt install firefox
Follow this url to fix firefox crash termux/proot#139 (comment)
-
Prof-XFCE-theme is the best for me. You can download it here: https://www.gnome-look.org/p/1334420/
-
Vimix icon is nice. You can download it here: https://www.gnome-look.org/p/1273372/
-
After download *.tar.xz files you can extract them and copy to themes/icons folders:
mkdir -p ~/.local/share/icons ~/.local/share/themes
cd ~/Downloads
tar -xf "Prof--XFCE- 2.1.tar.gz"
mv "Prof--XFCE- 2.1" ~/.local/share/themes/
tar -xf Vimix.tar.xz
mv Vimix ~/.local/share/icons/
cp ~/.profile ~/.zprofile
sudo apt install git curl zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"