Giter Site home page Giter Site logo

waydroid-image's Introduction

Waydroid Image

Containerfile for building a Waydroid image.

This image is based on top of vanillaos/pico and offers a Waydroid installation.

Note

This is an experimental image providing Waydroid via Apx (distrobox). It still requires the binder_linux kernel module at the host side.

Build

Requirements

  • Vib
  • Podman or Docker

Build the image

vib build recipe.yml
podman image build -t vanillaos/waydroid .

Run

Requirements

Usage

Currently, the container needs to be rootfull, since it has to modprobe the needed kernel modules and mount the binder filesystem. This could change in the future.

distrobox create --root --init --unshare-all -i ghcr.io/vanilla-os/waydroid:main -n waydroid # replace with your local image if you built it
distrobox enter --root waydroid

Wait for the waydroid-init service to end, check with systemctl status waydroid-init. Then start using waydroid with 2:

ewaydroid --help

Note

  • 1: At the time of writing, the --unshare-all option is not yet released so you need to use the latest version from git.

  • 2: The ewaydroid script is a wrapper around waydroid that automatically points the XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS environment variables to the host ones. This is needed to make the waydroid services work by properly communicating with the host.

waydroid-image's People

Contributors

axtloss avatar kbdharun avatar mirkobrombin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

waydroid-image's Issues

org.freedesktop.DBus.Error.AccessDenied: Failed to connect to socket /run/host/: Operation not permitted

Issue Description

sudo ewaydroid first-launch
[sudo] password for hmk:
Authorization required, but no authorization protocol specified

Authorization required, but no authorization protocol specified

[00:46:54] Starting waydroid session
[00:46:54] ERROR: org.freedesktop.DBus.Error.AccessDenied: Failed to connect to socket /run/host/: Operation not permitted
[00:46:54] See also: <https://github.com/waydroid>
Run 'waydroid log' for details.

Steps to Reproduce

i used this guide - https://distrobox.it/useful_tips/#automated-installation

my host system is fedora silverlbue, not vanilla os

On what version of Vanilla OS this happens?

Unreleased

Additional Information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.