this post was submitted on 18 Jun 2024
416 points (98.6% liked)

Linux

48072 readers
1 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 6 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] xavier666@lemm.ee 78 points 11 months ago* (last edited 11 months ago) (3 children)

Yo dawg, I heard you like Linux. So I built a Linux container for your Linux phone. Now you can enjoy Linux while enjoying your Linux phone.

[–] jol@discuss.tchncs.de 13 points 11 months ago (2 children)

We definitely living in a simulation.

[–] dutchkimble@lemy.lol 6 points 11 months ago

Wonder if it's running on Linux

[–] laughterlaughter@lemmy.world 6 points 11 months ago (1 children)

Not that I don't disagree with you, but how did you come down to this conclusion?

[–] jol@discuss.tchncs.de 3 points 11 months ago (3 children)

We're so many levels of abstraction and emulation deep, that the natural conclusion is that there's no reason to believe we're at the top of the abstraction, but somewhere in the middle.

load more comments (3 replies)
[–] smileyhead@discuss.tchncs.de 7 points 11 months ago

You can call it GNU/Linux if the same name for OS and kernel turns out to be confusing for you.

[–] boredsquirrel@slrpnk.net 56 points 11 months ago (1 children)

TLDR: Easy installation of something like Termux, GUI, Kwin and KDE, and a graphical display.

This is really good!

[–] lily33@lemm.ee 13 points 11 months ago (1 children)

Not really. It seems to use a very different technology from termux.

[–] drwankingstein@lemmy.dbzer0.com 17 points 11 months ago (2 children)

it's actually not that far off a chroot, it uses LXC, the really cool thing thats going on is this wayland integration, I was waiting for termux-gui + wlroots to come along, but this might just land first

[–] lily33@lemm.ee 7 points 11 months ago* (last edited 11 months ago) (1 children)

However, it also uses halium and libhybris. That means you can't just install your favourite distro and upstream tools. Everything that needs GPU acceleration needs to be patched for libhybris. For example, that means no upstream wlroots - and the latest patched version I think is 0.12 or so.

load more comments (1 replies)
[–] iturnedintoanewt@lemm.ee 3 points 11 months ago (2 children)

So how does it render to screen? Because the biggest nag on any of these previous implementations came when I needed to use VNC to remotely connect to the desktop...

[–] drwankingstein@lemmy.dbzer0.com 5 points 11 months ago

it uses a modified wayland compositor that hooks up directly to android surfaceview. Currently if you want a chroot/proot solution, I reccomend termux-x11. it's good performance.

load more comments (1 replies)
[–] InnerScientist@lemmy.world 56 points 11 months ago* (last edited 11 months ago) (4 children)

You need a phone, tablet, or other device that’s been rooted.

Damit

[–] KillingTimeItself@lemmy.dbzer0.com 20 points 11 months ago (2 children)

Rule of thumb for android users, all of the interesting shit is shit you can't do unless you're rooted.

load more comments (2 replies)
[–] fossilesque@mander.xyz 17 points 11 months ago

Me in this thread: revolvingdoor.gif

[–] drwankingstein@lemmy.dbzer0.com 16 points 11 months ago (2 children)

look into proot+termux-x11 if you don't have a rooted device, it's still very good.

[–] joe_cool@lemmy.ml 10 points 11 months ago (1 children)

It's just quite a bit slower. Everything else other than messing with /sys and android processes works the same.

HDMI, mouse and keyboard and you have an office pc.

[–] drwankingstein@lemmy.dbzer0.com 3 points 11 months ago

Yup, I used it all the time with samsung dex, works great

[–] Tja@programming.dev 3 points 11 months ago (1 children)

I looked on the play store and fdroid, haven't found anything. I'd love to have a Linux chroot with CLI linux software, don't want to root my phone. Halp.

[–] Tja@programming.dev 7 points 11 months ago (1 children)

For the lazy, in termux:

$ pkg install proot
$ pkg install proot-distro
$ proot-distro install debian
$ proot-distro login debian

Profit??

load more comments (1 replies)
load more comments (1 replies)
[–] cafuneandchill@lemmy.world 41 points 11 months ago (4 children)

You could emulate Android on Linux before, now you can also emulate Linux on Android

The circle of libe is compleet

[–] critical@reddthat.com 12 points 11 months ago (1 children)

Now the only question is: How deep can you go?

[–] EddoWagt@feddit.nl 8 points 11 months ago

We can also emulate windows on android and WSL obviously on windows.

So we can use Linux to emulate Android, which in turn emulates windows to run WSL

[–] eshep@social.trom.tf 10 points 11 months ago

@lemmyreader @cafuneandchill PostmarketOS in chroot in termux in waydroid on PostmarketOS 🤘

[–] drwankingstein@lemmy.dbzer0.com 6 points 11 months ago (4 children)

well it's not really emulation, if you are familiar with LXC it's that, it's pretty much a super chroot

load more comments (4 replies)
load more comments (1 replies)
[–] ShellMonkey@lemmy.socdojo.com 37 points 11 months ago* (last edited 11 months ago) (2 children)

I recall using an app way back when I used to root and haxor all the mobiles that would do this. Kind of a virtualbox for the Nexus phones/tablets, but it needed root to do it. Will have to look into this, would be interesting if it can do so in user space somehow.

Edit: Damn, still needs root. Was a longshot to be able to hook into system resources without it but was hoping for some bridge function.

[–] MonkderDritte@feddit.de 4 points 11 months ago* (last edited 11 months ago) (1 children)

That bridge function would still need root (or critical level security holes) to be installed, if the ROM doesn't ship it.

[–] ShellMonkey@lemmy.socdojo.com 3 points 11 months ago

Makes sense, I'm so accustomed to making virtual machines and such that it becomes just a thing but inevitably at some point admin access was required to create the hypervisor, the vnic, a virtual switch, etc. Without that restriction a piece of malware could readily exfiltrate data past a local protection by just making it's own new pathway through on the fly or any number of other unpleasant things.

[–] drwankingstein@lemmy.dbzer0.com 3 points 11 months ago

if you want a non root solution, termux proot + termux-x11, or eventually termux proot + termux-gui + wayland compositor

[–] TheFonz@lemmy.world 19 points 11 months ago (2 children)

Does this mean I could install and run Blender on my phone???

[–] PlexSheep 6 points 11 months ago

You can try

[–] drwankingstein@lemmy.dbzer0.com 4 points 11 months ago

you can already try that with chroot/proot, this just gives far better integration for input handling and stuff

[–] trevor@lemmy.blahaj.zone 16 points 11 months ago (2 children)

If someone could build a preconfigured image that has Phosh and basic phone apps, I would consider using this full time.

[–] Hector@lemmy.ca 10 points 11 months ago (1 children)

Would be even better if it can be registered as the default launcher too

[–] nossaquesapao@lemmy.eco.br 6 points 11 months ago (1 children)

Could we uninstall almost all non system apps, make it autostart and prevent any other app from getting in the way?

load more comments (1 replies)
[–] cityboundforest@beehaw.org 3 points 11 months ago

I would as well

[–] electricprism@lemmy.ml 15 points 11 months ago* (last edited 11 months ago) (3 children)

So I could use this to run PostmarketOS inside Android?

[–] eshep@social.trom.tf 5 points 11 months ago (1 children)

@lemmyreader @electricprism There is someone who managed to convert a proot-distro version of #alpine into a #pmos one. It's not as great as it may sound though.

[–] drwankingstein@lemmy.dbzer0.com 4 points 11 months ago

there are massive limitations to termux proot/chroot that don't apply here. proper touch support is one of them.

load more comments (2 replies)
[–] KillingTimeItself@lemmy.dbzer0.com 14 points 11 months ago

this is the most useful thing android will ever do.

Once rooted.

[–] ExtremeDullard@lemmy.sdf.org 12 points 11 months ago (1 children)

So basically it's UserLAnd with accelerated graphics instead of VNC.

[–] lily33@lemm.ee 5 points 11 months ago

Actually, no, this seems to work on a very different principle.

[–] iturnedintoanewt@lemm.ee 7 points 11 months ago

*is going to be.

load more comments
view more: next ›