Waydroid not working on 24.04
-
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