(Solved) New UT on Pixel 3a user.
-
@globetrotterdk I have same phone as you and waydroid install throw WayDroid Helper. It works fine on my phone, except banking apps.
Trying to launch throw the command linesudo waydroid session start
raise the same error as you,
but launching it throw the WayDroid Helper works -
@saveurlinux I think, you should try to launch it with sudo but as:
waydroid session start
and in an other tab launch
waydroid show-full-ui
other command line are available look at
waydroid help
-
@saveurlinux
1st. shell:$ adb shell phablet@ubuntu-phablet:~$ sudo waydroid session start [sudo] password for phablet: [21:11:07] ERROR: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [21:11:07] See also: <https://github.com/waydroid> Run 'waydroid log' for details.
2nd. shell:
$ adb shell phablet@ubuntu-phablet:~$ sudo waydroid show-full-ui [sudo] password for phablet: [21:12:19] Starting waydroid session [21:12:19] ERROR: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [21:12:19] See also: <https://github.com/waydroid> Run 'waydroid log' for details.
Looks to me like a DBus issue, but I will take a look at waydroid help tomorrow and see if I can get something out of that. At this point, not holding out much hope however, as my experience is that when you cut out the gui and just using the cli, there is a better chance of understanding what is going on. While the errors are fairly verbose, the result isn't ringing any bells.
-
@globetrotterdk have you tried without sudo ?
-
@saveurlinux The Waydroid icon appears, but no active window, and when I try to swipe from the right, the system tells me that there are no apps running.
Here is the cli output from the same session:
$ adb shell phablet@ubuntu-phablet:~$ waydroid session start [23:10:10] WAYLAND_DISPLAY is not set, defaulting to "wayland-0" [23:10:11] Failed to start Clipboard manager service, check logs [gbinder] Service manager /dev/anbox-binder has appeared [23:10:36] Android with user 0 is ready Traceback (most recent call last): File "gbinder.pyx", line 499, in gbinder.LocalObject.callback File "/usr/lib/waydroid/tools/interfaces/IUserMonitor.py", line 33, in response_handler packageStateChanged(arg1, arg2, arg3) File "/usr/lib/waydroid/tools/services/user_manager.py", line 87, in packageStateChanged makeDesktopFile(appInfo) File "/usr/lib/waydroid/tools/services/user_manager.py", line 35, in makeDesktopFile for cat in appInfo["categories"]: TypeError: 'NoneType' object is not subscriptable Exception ignored in: 'gbinder.local_transact_callback' Traceback (most recent call last): File "gbinder.pyx", line 499, in gbinder.LocalObject.callback File "/usr/lib/waydroid/tools/interfaces/IUserMonitor.py", line 33, in response_handler packageStateChanged(arg1, arg2, arg3) File "/usr/lib/waydroid/tools/services/user_manager.py", line 87, in packageStateChanged makeDesktopFile(appInfo) File "/usr/lib/waydroid/tools/services/user_manager.py", line 35, in makeDesktopFile for cat in appInfo["categories"]: TypeError: 'NoneType' object is not subscriptable ^C phablet@ubuntu-phablet:~$
-
@globetrotterdk maybe that's because you are doing it from adb and WAYLAND_DISPLAY is not available ? Try to do it from the phone terminal
When the command
waydroid session start
succeed , you can open a new tab into the terminal phone app and then do this next one:
waydroid show-full-ui
-
@saveurlinux Unfortunately, no such luck. I get a few of the same lines and then the process refuses to go any further:
$ waydroid session start [07:49:53] Failed to start Clipboard manager service, check logs [gbinder] Service manager /dev/anbox-binder has appeared [07:50:19] Android with user 0 is ready ^C
-
@globetrotterdk The last line says it is ready, maybe it doesn't go any further until you follow with what @saveurlinux suggests?
-
@arubislander Cool. That works. I was able to go in and get the Waydroid instance certified (through the adb shell) by following the Waydroid instructions and getting the android id.
Unfortunately, after using Wayroid stop and rebooting the phone, the system freezes at the Google splash screen.
A restart is possible, and I am able to get into Waydroid again by using the app tray.
-
Thanks to everyone for all of the help and feedback!