ok nevermind , this all seem like to much trouble , don't need waydroid that much .
weird though that it seemingly don't work on x11 , when in my opinion probably 80% of users on x11 ?
thanks for the inputs @zenzen
Well, the initial commit was not even 3 years ago, when Wayland was gaining a lot of traction. It's not unreasonable to want to use something promising and upcoming in order to stay future proof. Maybe there were technical reasons for it, as they seem to make emphasis on "Wayland containers", although I don't know what those are.
That's the problem then. You need to be on wayland to use Waydroid period. On X11 what you need to do is to run it in a nested Wayland instance inside your X11. You'll have to search around for this though as I have never tried it myself.
I tried to install this but the download failed halfway through... since it took quite a while I gave up, but I might try again and see if I can make it work. I'll update this if I come with something.
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 command bg. Then, you can run waydroid-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):
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.