Coder Social home page Coder Social logo

termux-ubuntu's Introduction

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:

  • Ubuntu 20
  • XFCE4 Desktop
  • TigerVNC Server
  • Non-root Account Creation
  • Audio Support
  • Chromium Browser

Installation

Copy and paste this command to Termux:

Ubuntu 20 With XFCE4

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

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

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:

./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:

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:

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 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

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 termux/proot#139 (comment)

Install Theme & Icons


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)"

termux-ubuntu's People

Contributors

tuanpham-dev avatar hicwic avatar

Stargazers

Misaka Mikoto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.