more notes

This commit is contained in:
Dobromir Popov
2024-07-31 09:27:52 +03:00
parent f82836130a
commit deab2815fe
8 changed files with 97 additions and 29 deletions

View File

@ -0,0 +1,42 @@
# 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