Skip to content

Instantly share code, notes, and snippets.

@Runa-Chin
Last active June 18, 2024 13:06
Show Gist options
  • Save Runa-Chin/fac044b026946120e660fe9576da721e to your computer and use it in GitHub Desktop.
Save Runa-Chin/fac044b026946120e660fe9576da721e to your computer and use it in GitHub Desktop.
WayDroid install on openSUSE Tumbleweed and openSUSE Slowroll

WayDroid install on openSUSE Tumbleweed and openSUSE Slowroll simple guides

This is guide for everyone who had using openSUSE Tumbleweed and openSUSE Slowroll for installing WayDroid. Here's how you should do for installation. Follow this simple guide until done and enjoy using WayDroid. Make sure you're running WayDroid under Wayland session or using Wayland compositor called weston

Before doing an installation, you should do a update kernel config with Grubby. So, install Grubby with command below.

sudo zypper ref
sudo zypper in grubby
sudo grubby --update-kernel="/boot/vmlinuz-$(uname -r)" --args="psi=1"
sudo reboot

After reboot your system, log in again and enter terminal. So, you need to add repository for installing Waydroid. Use RISR WayDroid repo to start it. So, enter the command bellow.

# For Tumbleweed
sudo zypper addrepo https://download.opensuse.org/repositories/home:runa-chin:Waydroid/openSUSE_Tumbleweed/home:runa-chin:Waydroid.repo && sudo zypper ref

# For Slowroll
sudo zypper addrepo https://download.opensuse.org/repositories/home:runa-chin:Waydroid/openSUSE_Slowroll/home:runa-chin:Waydroid.repo && sudo zypper ref

# After adding repo and refresh it, install it and enable WayDroid container service
sudo zypper install waydroid lxc iptables dnsmasq
sudo systemctl enable waydroid-container

# Don't forget to add WayDroid permission config on AppArmour.
sudo nano /etc/apparmor.d/usr.sbin.dnsmasq

# Add these config to "/etc/apparmor.d/usr.sbin.dnsmasq" file while you edit it on Nano and save it.
@{run}/waydroid-lxc/ r,
@{run}/waydroid-lxc/* rw,

So, after you had doing installation, make sure WayDroid has been installed with check app menu. After that, you're recommended to restart your PC/laptop and going back log in to your system. After your PC/laptop has been restarted and logged in, use Terminal and type sudo mkdir -p /usr/share/waydroid-extra/images && sudo waydroid initand you had installed WayDroid on your openSUSE system.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Jun 18, 2024

https://gist.github.com/Runa-Chin/fac044b026946120e660fe9576da721e/7598fd19f839250dcda5e1c136a03b718075cbf2#waydroid-install-on-opensuse-tumbleweed-and-opensuse-slowroll-simple-guides

@Runa-Chin, you should use

```sh
```

(the sh is the important part) for <pre>s so that syntax highlighting is enabled. Otherwise, brilliant - thanks.

@Runa-Chin
Copy link
Author

https://gist.github.com/Runa-Chin/fac044b026946120e660fe9576da721e/7598fd19f839250dcda5e1c136a03b718075cbf2#waydroid-install-on-opensuse-tumbleweed-and-opensuse-slowroll-simple-guides

@Runa-Chin, you should use

```sh

(the `sh` is the important part) for `\<pre\>`s so that syntax highlighting is enabled. Otherwise, brilliant - thanks.

I got it, thanks for advice. I'll revise it soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment