Giter Site home page Giter Site logo

randomcoderorg / ubuntu-on-android Goto Github PK

View Code? Open in Web Editor NEW
1.1K 43.0 79.0 71.74 MB

Run Ubuntu with pre-installed Desktop Environments in android/termux with ease! Everything is preinstalled so just download install and doneπŸš€πŸš€

Home Page: https://udroid-rc.gitbook.io

License: MIT License

Shell 100.00%
ubuntu android xfce4 linux-on-android proot-distro hippo termux visual-studio-code ubuntu-on-android proot

ubuntu-on-android's People

Contributors

23xvx avatar andre-cmd-rgb avatar anninodr4 avatar ayon-ssp avatar chiyuki0325 avatar fossabot avatar github-actions[bot] avatar gitter-badger avatar imgbotapp avatar kasinadhsarma avatar mjhult avatar saicharankandukuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ubuntu-on-android's Issues

Can i install Clion on it?

I've tried but i coudn't operate any file downloaded from theire site(even delete it), it aways says "no such file or directory" , I did a bit search but still couldn't solve the problem, looks like it is due to the different architecture?
Just want to know if it is possible to install clion. thanks ! : )

Please make a light version of it

There are too many softwares in this version I mean it's good but I wanted a lighter version of that which contains only necessary softwares and of smaller size. Please

how to install chromium-browser????

i have installed ubuntu of yours on my samsung fold 3, but i try to install chrome or chromium, all are failed.

i try chrome amd64.deb , and err show it is not match for cpu.

i try chromium-browser, show err.....


root@localhost:~#  chromium-browser

Command '/usr/bin/chromium-browser' requires the chromium snap to be installed.
Please install it with:

snap install chromium

root@localhost:~# snap install chromium
error: cannot communicate with server: Post "http://localhost/v2/snaps/chromium": dial unix /run/snapd.socket: connect: no such file or directory
root@localhost:~# snap install chromium-browser
error: cannot communicate with server: Post "http://localhost/v2/snaps/chromium-browser": dial unix /run/snapd.socket: connect: no such file or directory

Set keyboard layout

How can I detect or set the correct keyboard layout? I have tried dpkg-reconfigure keyboard-configuration, I have chosen the Italian keyboard layout, but it doesn't seem to take effect. Is it perhaps necessary to restart a proot process, to reboot Ubuntu?

If I try to access "keyboard layout" from the graphical Ubuntu settings, and I set Italian layout from there, it still seems not to make a difference.

If I try to access "language and region" I get an error.

Help

how to stop session from startxfce4? because every time I try to use Termux x11 xfce keeps running but there is no display on the x11 application

Openbox WM distribution becuase xfce4 is heavy

Is your feature request related to a problem? Please describe.

Downloading 1.7 GB on slow network is difficult. I came to know that Openbox can be used in alternative to xfce4

Describe the solution you'd like
One more separate distribution Openbox preinstalled similar to xfce4

Describe alternatives you've considered
No alternative

Additional context
Thanks

Can't use apt-get

I have some problems when I try installing libgles-dev, or anything for that matter. Maybe I am doing something wrong since I am new to Termux.

I always get this error:

Reading package lists... Error!
E: Unable to determine file size for fd 6 - fstat (1: Operation not permitted)
E: The package lists or status file could not be parsed or opened.

Here is what I get:

~ $ hippo root@localhost:~# apt-get install libgles-dev Reading package lists... Error! E: Unable to determine file size for fd 6 - fstat (1: Operation not permitted) E: The package lists or status file could not be parsed or opened. root@localhost:~# apt-get autoremove Reading package lists... Error! E: Unable to determine file size for fd 6 - fstat (1: Operation not permitted) E: The package lists or status file could not be parsed or opened. root@localhost:~# sudo apt-get install libgles-dev sudo: unable to determine tty: Permission denied Reading package lists... Error! E: Unable to determine file size for fd 6 - fstat (1: Operation not permitted) E: The package lists or status file could not be parsed or opened. root@localhost:~# apt install libgles-dev Reading package lists... Error! E: Unable to determine file size for fd 6 - fstat (1: Operation not permitted) E: The package lists or status file could not be parsed or opened. root@localhost:~#

Error on starting vnc server

root@localhost:~# vncserver :1
/usr/bin/xauth:  timeout in locking authority file /root/.Xauthority
/usr/bin/xauth:  timeout in locking authority file /root/.Xauthority
vncserver: Can't create pid file '/root/.vnc/localhost.localdomain:5901.pid': Required key not available

Some questions with graphics acceleration

Hello, I have some question about graphics
acceleration with this project:

  • Do the Termux:Wayland app necessery for acceleration? (The repo to that app is down)
  • How can it acheive without getting access to drm gpu device (/dev/dri/card*)

Thanks for any answer :)

XFCE 4

Log [27/5/2021]

  • successfully managed to make a xfce 4 fs and transfer to android without any catastrophic file permission errors Thanks to ubuntu & Arch linux dev pages
    WhatsApp Image 2021-05-27 at 10 49 19 PM

  • But found that even xfce 4 is latest the styles are kind of old. Trying to beautify (suggest me some if you know some better/best themes)


On testing (suggestion/Help/PR's are welcome) πŸ‘Œ

[vncserver] help

Hi, Your Project is really awesome. 'vncserver' is command used to start vnc server.But there is no command to kill vncserver mentioned by you.After every time I start vnc by vncserver every time display number increases by 1 .I can't connect to vnc directly to my previous configuration. So I every time have to change configuration in vnc app on my phone to connect .Please give a command to kill vnc
Screenshot_20210723-092315402.jpg

Viewing(vnc) on other device

I want to use another device as it's display. I have tried in anronix's version and it worked perfectly. I know someone already raised an issue but that doesn't seem to work.
Please help.

Vscode and sublime text not installed

Is vscode and sublime still included in installation?
Neither are installed in udroid, but at least vscode shown in screenshots. Installation of 1.62.0 of vscode results in segfault.

install error

[] Installing udroid...
[
] Using cached rootfs tarball...
[] Checking integrity, please wait...
[
] Extracting rootfs, please wait...
CANNOT LINK EXECUTABLE "tar": library "libandroid-glob.so" not found
[*] Writing '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/udroid/etc/profile'...
find: β€˜usr/lib/’: No such file or directory

[VNC]: failed to start vnc after removing plank

After i quite the plank vnc get stop and after i unistall plank vnc no run anymore
Some panel profile no get work and make full of bug and it need restart phone but the udroid no work until reinstall it.

Udroid not installing

I tried to install udroid and it's doing nothing I leave it for about 5 min and it's keeps showing up the numbers .
Screenshot_2021-11-17-14-48-14-03_84d3000e3f4017145260f7618db1d683

Environment Error

I installed 'termux-prefix-switcher' for no purpose then I revert it back. I tried reinstalling using 'udroid' command, this error appears. I don't know how to solve this.

Screenshot_2021-12-09-20-32-41-85

Problem audio

Hello Friend. good work. I'm having difficulties activating the system's audio. is not catching and when I use the command line of this message. how should I proceed?
Screenshot_20210805-015242_Termux

Stuck

Extracting rootfs, please wait... stuck

Device - oneplus 7 pro

Screenshot_20210827-024449

Use alias

Is your feature request related to a problem? Please describe.
Typing the command proot-distro login hippo and vncserver
are nahhing
Describe the solution you'd like
Use alias commands

Describe alternatives you've considered
Made alias

Set date and time

Is it possible to set the timezone?

From the graphical Ubuntu, if I try to open settings -> date and time, I get an error.

From the terminal, if I type datetimectl I get an error that the system was not booted with systemd.

Vnc from PC

I have Hippo installed and can connect via VNC on my device, but how can I connect via my PC? New to all this, pretty sure I can edit xstartup but I need some assistance with that.

Hippo install failing with "WARNING: linker:..."

Was successful until I reached the Hippo command and then have been met with the following (gave it a couple retrys):

Installing hippo...........
[] Installing hippo...
[
] Using cached rootfs tarball...
[] Checking integrity, please wait...
[
] Extracting rootfs, please wait...
WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"
WARNING: linker: Warning: failed to find generated linker configuration from "/linkerconfig/ld.config.txt"

Seems to just freeze the instance indefinitely. Sorry for the inconvenience and thanks in advance for your time!

vgpu while kepping gl4es support

Is your feature request related to a problem? Please describe.
i think

Describe the solution you'd like
include vgpu support and let users choose between gl4es and vgpu
see https://github.com/luo9674/VGPU it has Most of the GL2.x API and a small amount of GL3.x API(mainly texture and Uniform,
Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.
vgpu readme
The project is a bit like GL4ES, where I want to implement a hardware-accelerated GL converter: when an application calls the GL library, it will be mapped to GLES. In other words, VGPU packages the GLES library as a GL library.

"Scale" does not seem to work

Screenshot_20210622-025717

This scale setting doesn't seem to work,
This is what happens when zooming out if changed

Screenshot_20210622-025740

It did work fine Ubuntu xfce on AndroNix's, https://andronix.app/

It is handy that I wouldn't need to zoom if the scale is 2x as everything can be read.

Make a version for rooted users

I know about the support is mainly for proot users, but i'm suggesting a version for root users;
I can help testing or with another things (such as setup, write Scripts, etc)

Precompiled mesa with turnip?

Is your feature request related to a problem? Please describe.
Mesa is dreadfully slow to compile if it manages to complete, and a hassle to even setup in the first place.

Describe the solution you'd like
Precompiled binaries I think would be the optimal solution.

Describe alternatives you've considered
At least a script that will preform the install, so people can do a set and forget over night, or throughout the day

Set vnc resolution as device's

Is your feature request related to a problem? Please describe.
It would be cool to use in landscape mode if the vnc fit to the screen of the phone

Describe the solution you'd like
Set VNC's resolution as device's

Describe alternatives you've considered
I got my phone resolution from dumpsys display and changed VNC's from Settings

Update to Ubuntu 21.10

Is your feature request related to a problem? Please describe.
Ubuntu 21.10 has been released, and 21.04 will reach end of life in January.

Describe the solution you'd like
Please update the project to Ubuntu 21.10

Nmap not working

Nmap is not working inside the chroot when I run namp IP it shows an error
Starting Nmap 7.80 ( https://nmap.org ) at 2021-06-21 10:48 IST
nmap: netutil.cc:3265: int route_dst_netlink(const sockaddr_storage*, route_nfo*, const char*, const sockaddr_storage*): Assertion `p != NULL' failed.
Aborted
Any fix for this issue

Sound is not playing

Screenshot_20210626-173545

pulseserver-start not found

So ran
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1

GL4ES Beta testing for termux

I am so happy to say gl4es is finally working in termux inside proot-environment

GL4ES is a OpenGL 2.1/1.5 to GL ES 2.0/1.1 translation library, with support for Pandora, ODroid, OrangePI, CHIP, Raspberry PI, Android, Emscripten and AmigaOS4.

This features improves
Screenshot_20210614-162434_VNC Viewer

  • ~60-120 fps vnc performance
  • Less screen tearing
  • everything is performance
  • Chance to run even Box86 and games in termux

Recommended to use RealVNC app for the best experience


Installing this new feature

  • install termux app from https://termux.com
    As it set to beta code is stored in another gl4es-patch
  • Here is the code to install
  • just copy the below lines in termux πŸ‘
# update your termux apt indexes
apt update; apt upgrade -y
# download the code
git clone -b gl4es-patch https://github.com/RandomCoderOrg/ubuntu-on-android.git
# install
cd ubuntu-on-android; bash install.sh
proot-distro install hippo

# Login 
proot-distro login hippo

After logging in it gl4es compiling so please be patient untill it completes

what you do

  • Install this and share you screen shots to get featured in our docs and repo

  • Notice us if you have any problem or guide in doing things

  • Join our community to make a chat

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.