New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead #732
Comments
it's can't find the valid value of DBUS_SESSION_BUS_ADDRESS because you've started the waydroid session using sudo/root access, please don't use sudo here also make you're running wayland session or at lease wayland compositor because waydroid is wayland apps so it's important |
It still doesn't work, the log says:
|
I got same problem, what can I do to resolve it? |
same problem here... |
same problem, but ''waydroid session start'' command doesn't work correctly: container enabled but session doesn't start |
The same problem |
same problem!!!! why closed!!! |
For wandering Googlers - I ran into this earlier on Arch. I had upgraded my kernel but not rebooted yet. After rebooting it worked fine. Try that! |
ERROR: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead |
I think you can run without sudo, have a try. |
Describe the bug
Running "sudo waydroid session start" gives me the following error: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
General information (please complete the following information):
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Logs (please upload as file)
`(002096) [05:18:51] ERROR: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
(002096) [05:18:51] See also: https://github.com/waydroid
(002096) [05:18:51] 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.10/site-packages/dbus/_dbus.py", line 212, in new
return Bus.new(cls, Bus.TYPE_SESSION, private=private,
File "/usr/lib/python3.10/site-packages/dbus/_dbus.py", line 102, in new
bus = BusConnection.new(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python3.10/site-packages/dbus/bus.py", line 124, in new
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
(002456) [05:23:00] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(002456) [05:23:00] *** output passed to waydroid stdout, not to this log ***
(003359) [05:30:52] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(003359) [05:30:52] *** output passed to waydroid stdout, not to this log ***`
The text was updated successfully, but these errors were encountered: