{"id":13552165,"url":"https://github.com/tuanpham-dev/termux-ubuntu","last_synced_at":"2025-04-06T03:07:51.944Z","repository":{"id":37843500,"uuid":"263427571","full_name":"tuanpham-dev/termux-ubuntu","owner":"tuanpham-dev","description":"This helps you install Ubuntu 20 + XFCE4 desktop on Termux with ease.","archived":false,"fork":false,"pushed_at":"2022-02-24T14:30:59.000Z","size":75,"stargazers_count":432,"open_issues_count":19,"forks_count":59,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-30T01:12:36.326Z","etag":null,"topics":["android","linux","termux","tigervnc","ubuntu","vnc-server","xfce4","xfce4-desktop"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tuanpham-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-12T19:07:40.000Z","updated_at":"2025-03-28T06:51:23.000Z","dependencies_parsed_at":"2022-07-12T17:02:05.959Z","dependency_job_id":null,"html_url":"https://github.com/tuanpham-dev/termux-ubuntu","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanpham-dev%2Ftermux-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanpham-dev%2Ftermux-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanpham-dev%2Ftermux-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuanpham-dev%2Ftermux-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuanpham-dev","download_url":"https://codeload.github.com/tuanpham-dev/termux-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427006,"owners_count":20937201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","linux","termux","tigervnc","ubuntu","vnc-server","xfce4","xfce4-desktop"],"created_at":"2024-08-01T12:01:59.980Z","updated_at":"2025-04-06T03:07:51.928Z","avatar_url":"https://github.com/tuanpham-dev.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Install Ubuntu20 on Termux Android\n\nThis 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:\n\n- [x] Ubuntu 20\n- [x] XFCE4 Desktop\n- [x] TigerVNC Server\n- [x] Non-root Account Creation\n- [x] Audio Support\n- [x] Chromium Browser\n\n## Installation\n\nCopy and paste this command to Termux:\n\n### Ubuntu 20 With XFCE4\n\n```bash\npkg install wget curl proot tar -y \u0026\u0026 wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh \u0026\u0026 chmod +x ubuntu.sh \u0026\u0026 bash ubuntu.sh\n```\n\n### Ubuntu 20 CLI Only\n\n```bash\npkg install wget curl proot tar -y \u0026\u0026 wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh \u0026\u0026 chmod +x ubuntu.sh \u0026\u0026 bash ubuntu.sh nde\n```\n\n### Ubuntu 20 With LXDE\n\n```bash\npkg install wget curl proot tar -y \u0026\u0026 wget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/ubuntu.sh \u0026\u0026 chmod +x ubuntu.sh \u0026\u0026 bash ubuntu.sh lxde\n```\n\n## Run\n\n### Start Ubuntu\n\nAfter installation, on Termux, you can execute this command to run ubuntu:\n\n```bash\n./start-ubuntu20.sh\n```\n\n### Exit Ubuntu\n\nTo exit ubuntu you can simply run `exit` command. This will stop vncserver and some services.\n\n```\nexit\n```\n\n### Start VNC Server\n\nOn Ubuntu, run this command to start VNC Server:\n\n```bash\nvncserver-start\n```\n\nThen you can use VNC Client to connect to `127.0.0.1:1` or `127.0.0.1:5901`\n\n### Stop VNC Server\n\nOn Ubuntu, run this command to stop VNC Server:\n\n```bash\nvncserver-stop\n```\n\n## VNC Client For Android\n\nVNC Viewer (from RealVNC) is the best when you use your phone. Unfortunately, it does not does not support Samsung DEX.\n\n[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.\n\n## Issues\n\n### Group Issue\n\nIf you get an issue message like this:\n\n```\ngroups: cannot find name for group ID 20305\ngroups: cannot find name for group ID 50305\n```\n\nYou can simply add group with this command:\n\n```\nsudo groupadd --gid 20305 permagrp5\nsudo groupadd --gid 50305 permagrp6\n```\n\n## Other\n\n### Install VS Code\n\n- VSCode ARM is now officially supported by Microsoft. You can download it here: https://code.visualstudio.com/download\n\n- If VSCode does not run, try install older version. E.g. https://update.code.visualstudio.com/1.50.1/linux-deb-arm64/stable\n\n### Install LibreOffice\n\nOn Ubuntu, run this command to install LibreOffice with patch\n\n```\nwget https://raw.githubusercontent.com/tuanpham-dev/termux-ubuntu/master/librepatch.sh \u0026\u0026 chmod +x librepatch.sh \u0026\u0026 bash librepatch.sh\n```\n\n### Install FireFox\n\nOn Ubuntu, run this command to install FireFox\n\n```\nsudo apt install firefox\n```\n\nFollow this url to fix firefox crash https://github.com/termux/proot/issues/139#issuecomment-751988264\n\n### Install Theme \u0026 Icons\n\n- Prof-XFCE-theme is the best for me. You can download it here: https://www.gnome-look.org/p/1334420/\n\n- Vimix icon is nice. You can download it here: https://www.gnome-look.org/p/1273372/\n\n- After download \\*.tar.xz files you can extract them and copy to themes/icons folders:\n\n```\n\nmkdir -p ~/.local/share/icons ~/.local/share/themes\ncd ~/Downloads\ntar -xf \"Prof--XFCE- 2.1.tar.gz\"\nmv \"Prof--XFCE- 2.1\" ~/.local/share/themes/\ntar -xf Vimix.tar.xz\nmv Vimix ~/.local/share/icons/\n\n```\n\n### Intall Oh My Zsh\n\n```\ncp ~/.profile ~/.zprofile\nsudo apt install git curl zsh\nsh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuanpham-dev%2Ftermux-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuanpham-dev%2Ftermux-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuanpham-dev%2Ftermux-ubuntu/lists"}