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

  • db2@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    7 months ago

    I have waydroid working great in the latest Mint. You need Weston so Waydroid has a Wayland to connect to.

    e: or use the experimental Wayland in 21.3 but it’s not ready for daily driving

    • db2@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      7 months ago

      Here’s the script I use to start and stop Waydroid:

      #!/bin/bash
      PID=$(pgrep "weston")
      if [ "$?" -eq "0" ]; then
          waydroid session stop
          kill $PID
          exit
      fi
      weston --width=1920 --height=1080 --socket=wayland-1 &>/dev/null &
      sleep 2
      WAYLAND_DISPLAY=wayland-1 XDG_SESSION_TYPE=wayland waydroid show-full-ui
      

      Change the resolution to whatever you need it to be. Run it once to start, again to stop. It just lives on my desktop.