this post was submitted on 22 Jun 2023
13 points (100.0% liked)

Linux

48062 readers
707 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Anyone experimenting with Linux on Android around here?

I was having quite a hard time finding a decent IDE to use on DeX so Im just running a full desktop and coding on vscode. The performance is surprisingly good, just wish it was easier and more stable to set up gnome, as it just looks like it would fit a touchscreen and the android aesthetic really well.

top 12 comments
sorted by: hot top controversial new old
[–] M_Reimer@lemmy.world 1 points 1 year ago (2 children)

How would you do that? I often had situations where a full featured Linux on my phone would have helped. In most cases shell access would be enough for my needs.

[–] atretador@lemmy.world 1 points 1 year ago

Take a look on Termux, Userland and andronix. Just don't forget to get termux from F-Droid.

[–] burgersc12@sh.itjust.works 1 points 1 year ago

Tasker can run shell and if you enable ADB Wifi you can run basically any command you could with ADB

[–] flashgnash@lemm.ee 1 points 1 year ago (1 children)

I've seen a few mobile focused Linux distros, can you still run android apps on them easily?

[–] atretador@lemmy.world 1 points 1 year ago (1 children)

Not sure, but I think there is already ways to run android apps on a Linux desktop, the thing I'm talking about is basically running a Linux container on Android and connecting in it thru VNC.

[–] flashgnash@lemm.ee 1 points 1 year ago

Ah I see that seems like a more sensible way to do it as long as it can run smoothly virtualised

[–] un_aristocrate@geddit.social 1 points 1 year ago (1 children)

Yes, it works very well because it is not a VM, android is already running on the Linux kernel.

[–] flashgnash@lemm.ee 2 points 1 year ago (1 children)

Pretty sure it's still a VM even if there's a shared kernel, android is very different to a typical Linux distro

[–] un_aristocrate@geddit.social 1 points 1 year ago* (last edited 1 year ago) (1 children)

I don't know about all solutions but Linux Deploy for example creates a chroot environment and runs the Linux distribution from there. That means that the distribution's process are running alongside android's process on the same kernel. No translation, no abstraction, directly on the kernel that runs android. As far as the kernel is concerned, the android launcher and the Gnome environment are equal resident.

[–] flashgnash@lemm.ee 2 points 1 year ago (1 children)

There needs to be a hypervisor to manage them though doesn't there? As far as I'm aware that's how type 1 hypervisors work but that's still a VM at the end of the day.

Either way I'm absolutely doing this. Does Linux deploy allow you to switch between Linux and Android UI freely or is Linux running in the background and need spice/vnc?

[–] un_aristocrate@geddit.social 1 points 1 year ago

I don't think it counts as a hypervisor because it's basically running multiple user land environments on the same kernel. But yes, the video output is already used by android so if you need graphics it goes through vnc. Maybe that's possible to bypass on a routed device.

[–] TableCoffee@lemmy.ca 1 points 1 year ago

Is running VM's possible on more android devices now? I haven't kept up on that but remember the pixel devices having KVM support? I have been using the Opaque app + tailscale to connect to my proxmox VMs from my Galaxy tab if I'm travelling and need a full desktop for something. Works pretty well.

load more comments
view more: next ›