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

    Waydroid not working on 24.04

    Scheduled Pinned Locked Moved Asus Zenfone Max Pro (M1)
    1 Posts 1 Posters 1.7k 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

      Hey Guys the waydroid is not working on the latest 24.04.01 or 02 (tried all the dev,stable and rc channels)

      Error its showing to me is as below :

      root@ubuntu-phablet:/home/phablet# waydroid log
      (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
                             (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
         (030969) [17:24:52] *** output passed to waydroid stdout, not to this log ***
                                           (030969) [17:24:52] *** output passed to waydroid stdout, not to this log ***
                                  (005303) [09:44:13] waiting 2 seconds for container to start...
      (005303) [09:44:14] % lxc-info -P /var/lib/waydroid/lxc -n waydroid -sH
      STOPPED
      (005303) [09:44:14] waiting 1 seconds for container to start...
      (005447) [09:44:15] 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
      
      (005447) [09:44:15] OSError: container failed to start
      (028069) [17:18:22] ERROR: Action "init" needs root access
      (028069) [17:18:22] See also: <https://github.com/waydroid>
      (028069) [17:18:22] Traceback (most recent call last):
        File "/usr/lib/waydroid/tools/__init__.py", line 63, in main
          actionNeedRoot(args.action)
        File "/usr/lib/waydroid/tools/__init__.py", line 21, in actionNeedRoot
          raise RuntimeError(
      RuntimeError: Action "init" needs root access
      
      (028135) [17:18:34] % tail -n 60 -F /var/lib/waydroid/waydroid.log
      (028135) [17:18:34] *** output passed to waydroid stdout, not to this log ***
      (030202) [17:22:51] % tail -n 60 -F /var/lib/waydroid/waydroid.log
      (030202) [17:22:51] *** output passed to waydroid stdout, not to this log ***
      (030854) [17:24:34] Already initialized
      (030907) [17:24:44] ERROR: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally with the following error: Authorization required, but no authorization protocol specified
      
      Autolaunch error: X11 initialization failed.
      
      (030907) [17:24:44] See also: <https://github.com/waydroid>
      (030907) [17:24:44] 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 with the following error: Authorization required, but no authorization protocol specified
      
      Autolaunch error: X11 initialization failed.
      
      
      (030969) [17:24:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
      (030969) [17:24:52] *** output passed to waydroid stdout, not to this log **
      

      Any suggestions would be welcomed

      sudo mount -o remount, rw /
      
      apt update
      
      apt install waydroid -y
      
      waydroid init 
      
      

      It was working flawless on the 20.04 channels

      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