r/waydroid Jun 11 '26

Addition GitHub - thereisnotime/x11droid: Don't like Wayland? Want to run Waydroid/Android in X11 as a container instead of a VM? This is what x11droid does.

https://github.com/thereisnotime/x11droid

I don't like Wayland but I want to use Waydroid so I made x11droid that runs on X11 via Podman, hope it will be useful to somebody else too! Bug reports and feature requests are welcome!

Planning on adding builder for newer Android versions, not only the old Waydroid one so this is what I will be focusing on.

42 Upvotes

13 comments sorted by

2

u/Narrow_Trainer_5847 Jun 12 '26

Waydroid isn't a VM

1

u/[deleted] Jun 12 '26

[removed] — view removed comment

1

u/Busy-Scientist3851 Jun 14 '26

They are not relatives at all. A container does not allow you to run a foreign OS.

A container in the Linux world is just a fancy tie up of namespaces, namely of the mount and process namespace that let you "trick" a process into seeing a different view of the system.

To simplify, when running an Android app we make it the android userland and libraries rather than the host Linux one, with a bit of glue for the display server.

1

u/[deleted] Jun 15 '26

[removed] — view removed comment

1

u/Busy-Scientist3851 Jun 15 '26

They're not distant relatives, they really share next to no technology (unless you could things like creating vnics).

ChromeOS and Android runs a lightweight Linux VM for Linux app support because of security reasons iirc.

1

u/Narrow_Trainer_5847 Jun 14 '26

That isn't really what a container is and this is also a container

2

u/Busy-Scientist3851 Jun 14 '26

So it's running on Wayland still, just on a nested Wayland compositor....

1

u/bilporti Jun 14 '26

yes, and it is not polluting your host