UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Waydroid not working (not launching) Ubuntu 24.04.01

    Scheduled Pinned Locked Moved Waydroid
    1 Posts 1 Posters 893 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      evilgenius
      last edited by Keneda

      Device used : Asus Zenfone max pro m1 (it's supported)

      Setup, freshly installed Ubuntu 24.04.01 stable (also tried same with dev, rc and Ubuntu 24.04.02 dev)

      Installed waydroid helper from open store
      And installed waydroid (tested both with gapps and without)

      Note : it worked perfectly on 20.04 & 16.04

      Everytime the same error :

      phablet@ubuntu-phablet:~$ sudo su
      root@ubuntu-phablet:/home/phablet# waydroid init -s GAPPS
      [11:29:47] Already initialized
      root@ubuntu-phablet:/home/phablet# waydroid session start
      [11:29:57] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
      [11:29:57] See also: <https://github.com/waydroid>
      Run 'waydroid log' for details.
      root@ubuntu-phablet:/home/phablet# waydroid log
      STOPPED
      (004619) [01:26:45] waiting 8 seconds for container to start...
      (004619) [01:26:46] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:46] waiting 7 seconds for container to start...
      (004619) [01:26:47] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:47] waiting 6 seconds for container to start...
      (004619) [01:26:48] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:48] waiting 5 seconds for container to start...
      (004619) [01:26:49] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:49] waiting 4 seconds for container to start...
      (004619) [01:26:50] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:50] waiting 3 seconds for container to start...
      (004619) [01:26:51] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:51] waiting 2 seconds for container to start...
      (004619) [01:26:52] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (004619) [01:26:52] waiting 1 seconds for container to start...
      (004834) [01:26:53] org.freedesktop.DBus.Python.OSError: Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/dbus/service.py", line 712, in _message_cb
          retval = candidate_method(self, *args, **keywords)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/waydroid/tools/actions/container_manager.py", line 35, in Start
          do_start(self.args, session)
        File "/usr/lib/waydroid/tools/actions/container_manager.py", line 193, in do_start
          helpers.lxc.start(args)
        File "/usr/lib/waydroid/tools/helpers/lxc.py", line 402, in start
          wait_for_running(args)
        File "/usr/lib/waydroid/tools/helpers/lxc.py", line 396, in wait_for_running
          raise OSError("container failed to start")
      OSError: container failed to start
      
      (004834) [01:26:53] OSError: container failed to start
      (009986) [11:29:47] Already initialized
      (010058) [11:29:57] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
      (010058) [11:29:57] See also: <https://github.com/waydroid>
      (010058) [11:29:57] Traceback (most recent call last):
        File "/usr/lib/waydroid/tools/__init__.py", line 70, in main
          actions.session_manager.start(args)
        File "/usr/lib/waydroid/tools/actions/session_manager.py", line 35, in start
          name = dbus.service.BusName("id.waydro.Session", dbus.SessionBus(), do_not_queue=True)
                                                           ^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__
          return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__
          bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__
          bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally without any error message
      
      (010121) [11:30:17] % tail -n 60 -F /var/lib/waydroid/waydroid.log
      (010121) [11:30:17] *** output passed to waydroid stdout, not to this log ***
      

      Please can some help

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post