Ok, so there's another workaround to run this under Xorg. It involves installing a separate Wayland compositor that runs on its own window, and running Waydroid from there, although it's a CLI-only environment:
-
Install a new Wayland compositor:
sudo apt install weston
-
Launch it through the command line:
weston
This will bring up a new window with a bare environment. At the top-left corner, there's a launcher for a terminal inside this environment.
-
Launch Waydroid, and display UI:
waydroid session start & waydroid show-full-ui
If you get a message saying that a session is already being tracked, you can instead run
waydroid session start
(without the ampersand). If this works, you should see the process running in the terminal. To run other commands you have to send it to the background: Press Ctrl+Z to detach the process, followed by the commandbg
. Then, you can runwaydroid-full-ui
. -
If you close Waydroid and come back later to it, there will be a session already running (unless you explicitly close it). I don't know if there's way to reattach to that, but I found that I have to stop it and create a new one (it essentially reboots the phone):
waydroid session stop waydroid session start & waydroid show-full-ui
NOTE: I also couldn't find a way to resize the phone screen once it's running. If yo u want it running at full screen or specific size, make sure to resize the Weston window first.