43 lines
926 B
Markdown
43 lines
926 B
Markdown
# https://docs.waydro.id/usage/install-on-desktops
|
|
apt update
|
|
apt install curl ca-certificates -y
|
|
curl https://repo.waydro.id | bash
|
|
apt install waydroid -y
|
|
|
|
|
|
|
|
ensure we have in yml:
|
|
devices:
|
|
- "/dev/binder:/dev/binder"
|
|
- "/dev/ashmem:/dev/ashmem"
|
|
privileged: true
|
|
|
|
#
|
|
waydroid init
|
|
systemctl start waydroid-container
|
|
systemctl enable waydroid-container
|
|
systemctl status waydroid-container
|
|
|
|
<!-- ## ERROR: [Errno 2] No such file or directory: 'modprobe'
|
|
apt update
|
|
apt install kmod
|
|
|
|
## modprobe: FATAL: Module binder_linux not found in directory /lib/modules/5.15.0-91-generic
|
|
apt install linux-modules-extra-$(uname -r) -->
|
|
|
|
#
|
|
# export WAYLAND_DISPLAY=wayland-0
|
|
# export XDG_RUNTIME_DIR=/run/user/$(id -u)
|
|
|
|
useradd -m -s /bin/bash user
|
|
passwd user
|
|
usermod -aG sudo user
|
|
su - user
|
|
|
|
export DISPLAY=:1
|
|
export XDG_RUNTIME_DIR=/run/user/$(id -u)
|
|
|
|
# Start Waydroid if it is not already running
|
|
$waydroid session start
|
|
|