this post was submitted on 14 Apr 2024
36 points (95.0% liked)

Linux

48689 readers
440 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
 

I tried using Waydroid on Linux Mint (Edge) only to have it not work and realized that it requires Wayland, and Mint uses X11. So I used VirtualBox to install Fedora 40 Gnome which does use Wayland.

I installed Waydroid as per the instructions and am having seemingly the same issue as on Mint. After downloading "Vanilla" Android and clicking "Done" everything exits out. So I launch the Waydroid application but nothing ever happens.

I then try to manually start Waydroid in terminal but always get "ERROR: WayDroid container service is already running". Then I skip to the second step "waydroid session start" but receive "OSError: container failed to start".

Am I doing something wrong? Is it simply because the VM is causing the issues? Or does WayDroid not work well on Fedora? Thanks

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 8 months ago* (last edited 8 months ago) (3 children)

If you're going to run waydroid in a VM, why not just run Android in a VM?

Also why. The. Hell. Are. People. Still. Using. Virtualbox? What is this? 2005? You're already running a kernel with built in world tier type 1 virtualization.

[–] [email protected] 2 points 8 months ago (2 children)

Also why. The. Hell. Are. People. Still. Using. Virtualbox?

Couldn't get any Qemu-manager to work (and no time to master running it with scripts) and Vmware can use KVM as hypervisor. Virtualbox not?

[–] [email protected] 8 points 8 months ago* (last edited 8 months ago)

No, VirtualBox is a Type 2 hypervisor.

I'm not sure what qemu-manager is, but virt-manager works out of the box on Debian at least. There are no scripts needed, it's a UI.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

use the terminal qemu noob (/s)

[–] [email protected] 1 points 8 months ago (1 children)

Also why. The. Hell. Are. People. Still. Using. Virtualbox? What is this? 2005? You're already running a kernel with built in world tier type 1 virtualization.

Honestly, for me, it's probably just momentum at this point. I've been using Virtualbox for at least 15, maybe 20 years now. I don't use it much anymore with how good docker, etc. have become. Any recommendation on what I should be using instead?

[–] [email protected] 13 points 8 months ago* (last edited 8 months ago)

Qemu, which is the standard KVM front end. Also does emulation when you need other architectures (great for prepping Pi images for example). If you need a UI virt-manager is a UI for libvirt that supports Qemu and lxc (even remotely through ssh). It's been around since 2009.

[–] [email protected] 1 points 8 months ago* (last edited 8 months ago) (1 children)

Is there an easy way to run Android in a VM?

It's been a long time since I looked, but I never had great success. The only AMD64 builds I could find were ancient. Getting apps installed was difficult. And my understanding (correct me if I'm wrong) is that Waydroid delivers apps in windows without a whole Android UI around them.

The best option I found was using the Android Studio simulator.

[–] [email protected] 4 points 8 months ago (1 children)

https://blissos.org/

But yeah you won't get rootless windows obviously. But OP wasn't going to either running. VM to get waydroid working

[–] [email protected] 2 points 8 months ago (1 children)

Thanks for the link! Latest version is based on Android 13, which is not bad at all.

[–] [email protected] 1 points 8 months ago (1 children)

I'm trying to run blissos now in hyperv with no luck.

Did you make any progress?

I'm trying to find a bluestacks alternative

[–] [email protected] 1 points 8 months ago (1 children)

Not really. I tried in AQEMU and also VirtualBox. I got the installer to run, but I never got it to boot into a GUI, either in the LiveCD or installation. Not sure what I'm doing wrong. Maybe I should try the stable 12L build instead of 13.

[–] [email protected] 1 points 8 months ago

For now I tried Google play games beta. It's a type 1 vm instance instead of bluestacks being type 2.

Super easy to setup. At least Google is the one spying on me instead of china.