Skip to content
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

Debian installation instructions are incomplete #70

Open
ITmaze opened this issue May 14, 2024 · 0 comments
Open

Debian installation instructions are incomplete #70

ITmaze opened this issue May 14, 2024 · 0 comments

Comments

@ITmaze
Copy link

ITmaze commented May 14, 2024

Context: I'm attempting this on a minimal Debian Bookworm installation. To start with, this is a text-only install with only the basic system tools and ssh installed. There is no desktop, no X11, no Wayland, this is on purpose - to discover explicitly what is required to make this work as expected out of the box.

I'm opening this issue to attempt to document what's required to actually make waydroid launch under Debian and which dependencies are missing.

For example, it appears that waydroid is dependent on wayland, but that is not a dependency for the package. Similarly, there's a dependency for pyclip, which doesn't appear to exist as a Debian package and the only "working" solution is to break the system by using the --break-system-packages option for pip, which is also then a dependency, as-in python3-pip.

Note that I am completely unfamiliar with waydroid, but I've been using Debian for nearly 25 years.

I realise that one option is to make this a discussion rather than an issue, but at the end of all this I'm expecting to create (and hopefully close) a range of tickets and pull requests.

Progress to date:

  • The standard Debian install does not come with curl, but wget is included in the standard utilities. I recommend that the installation script at https://repo.waydro.id is updated to use wget instead. I do not know where to lodge an issue for that, or where to submit a PR.
  • While the installation of waydroid completes, the application does not launch, since it requires a display, but that's not a dependency.
  • If I install lxde-core after installing waydroid, I can run waydroid show-full-ui once. It displays a download window and offers a selection of images. Once that's finished downloading, clicking "Done" does nothing.
  • Starting it again, shows a missing pyclip as discussed here in an issue that in my opinion should be re-opened.
  • Resolving that then reveals that wayland is missing. (I don't have the error handy, after a fresh install I'll see if I can reproduce this.)
  • Installing weston (which Debian states is the Wayland reference compositor) offers a new window where you can attempt to launch waydroid show-full-ui.
  • After setting $XDG_SESSION_TYPE to wayland, you get a message [gbinder] Service manager /dev/nbox-binder has appeared and nothing else.
  • Installing cage depends on xwayland, after adding both, launching cage waydroid show-full-ui returns the same output as above.
  • Changing to root and running waydroid container start returns: ERROR: WayDroid container service is already running
  • Running waydroid container stop returns nothing and following that with waydroid container start returns the same error as above.
  • Running waydroid container restart returns WayDroid container is STOPPED and following that with waydroid container start returns the same error as above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant