Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tuanpham-dev/termux-ubuntu
This helps you install Ubuntu 20 + XFCE4 desktop on Termux with ease.
https://github.com/tuanpham-dev/termux-ubuntu
android linux termux tigervnc ubuntu vnc-server xfce4 xfce4-desktop
Last synced: 1 day ago
JSON representation
This helps you install Ubuntu 20 + XFCE4 desktop on Termux with ease.
- Host: GitHub
- URL: https://github.com/tuanpham-dev/termux-ubuntu
- Owner: tuanpham-dev
- Created: 2020-05-12T19:07:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-24T14:30:59.000Z (almost 3 years ago)
- Last Synced: 2024-12-16T13:28:42.807Z (9 days ago)
- Topics: android, linux, termux, tigervnc, ubuntu, vnc-server, xfce4, xfce4-desktop
- Language: Shell
- Homepage:
- Size: 73.2 KB
- Stars: 418
- Watchers: 15
- Forks: 60
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install Ubuntu20 on Termux Android
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:
- [x] Ubuntu 20
- [x] XFCE4 Desktop
- [x] TigerVNC Server
- [x] Non-root Account Creation
- [x] Audio Support
- [x] Chromium Browser## Installation
Copy and paste this command to Termux:
### Ubuntu 20 With XFCE4
```bash
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
```### Ubuntu 20 CLI Only
```bash
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 nde
```### Ubuntu 20 With LXDE
```bash
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 lxde
```## Run
### Start Ubuntu
After installation, on Termux, you can execute this command to run ubuntu:
```bash
./start-ubuntu20.sh
```### Exit Ubuntu
To exit ubuntu you can simply run `exit` command. This will stop vncserver and some services.
```
exit
```### Start VNC Server
On Ubuntu, run this command to start VNC Server:
```bash
vncserver-start
```Then you can use VNC Client to connect to `127.0.0.1:1` or `127.0.0.1:5901`
### Stop VNC Server
On Ubuntu, run this command to stop VNC Server:
```bash
vncserver-stop
```## VNC Client For Android
VNC Viewer (from RealVNC) is the best when you use your phone. Unfortunately, it does not does not support Samsung DEX.
[AVNC](https://f-droid.org/en/packages/com.gaurav.avnc/index.html) is another good VNC client. In my opinion it is the best when you use your tablet or Samsung Dex.
## Issues
### Group Issue
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
```## Other
### Install VS Code
- 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
### Install LibreOffice
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
```### Install FireFox
On Ubuntu, run this command to install FireFox
```
sudo apt install firefox
```Follow this url to fix firefox crash https://github.com/termux/proot/issues/139#issuecomment-751988264
### Install Theme & Icons
- 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/```
### Intall Oh My Zsh
```
cp ~/.profile ~/.zprofile
sudo apt install git curl zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```