[Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
Nuzzle9533
Posts: 49
Joined: Tue May 02, 2023 2:37 am

[Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#1 Post by Nuzzle9533 »

I was told that I would not be able to do this on MX xfce, but installing GNOME BASE FIRST seemed to perfectly worked out for me.

xfce apparently doesn't support waydroid by default, but I installed GNOME BASE and in the proceeding options went on to select it as the default (you will know when you see it)

https://odysee.com/mx_linux_waydroid:1
Steps:

Install package `weston` from `Enabled Repos`

sudo apt install curl ca-certificates -y

curl https://repo.waydro.id | sudo bash


sudo apt install waydroid -y
sudo waydroid init

sudo systemctl enable --now waydroid-container
Launch `Weston`
Launch `Waydroid` using command

Code: Select all

waydroid first-launch

If you want to kill `Waydroid` don't exit `Waydroid` or `Weston` or whatever the hell it is. Instead use
`waydroid session stop` (preferably) and

Code: Select all

sudo waydroid container stop

User avatar
l0dr3
Posts: 463
Joined: Wed Jun 28, 2023 11:06 am

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#2 Post by l0dr3 »

Hi, thank you @Nuzzle9533

Nice job - nice video :clap:

Last time i evaluated waydroid was with LMDE5/Cinnamon (so also a 'bullseye' based distro) in a VBox-VM a year ago. I was sure that xfce DE should not be an unsolvable problem, but had not the time, to test this with MX-XFCE so far, good to hear, its possible :popcorn:

Did you try this also with MX-23-XFCE/BOOKWORM?

With reference to: https://docs.waydro.id/usage/install-on ... erivatives, *should* be no big deal ...
curl https://repo.waydro.id | sudo bash
:
If the script fails to detect your distribution, you can provide a valid option by appending -s <DISTRO>.
Currently supported values are: focal, jammy, kinetic, lunar, mantic, bookworm, bullseye, sid
For users like me, who prefer to test such stuff in a VM first, or - as they say on the FAQs ;)
any unsupported GPU's as well (like nVidia)
here is the WorkAround: https://docs.waydro.id/faq/get-waydroid ... rough-a-vm

greetz

l0dr3

Nuzzle9533
Posts: 49
Joined: Tue May 02, 2023 2:37 am

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#3 Post by Nuzzle9533 »

Thank you very much mate! It's great to hear some words of appreciation. I don't frequent the forum often so sorry for the late reply!

> Did you try this also with MX-23-XFCE/BOOKWORM?

unfortunately not, I have some business which needs stablility, so I don't want to mess up my existing setup. won't be upgrading anytime soon :(

> here is the WorkAround: https://docs.waydro.id/faq/get-waydroid ... rough-a-vm

Thank you for that! :)

You have a nice day!

User avatar
CharlesV
Administrator
Posts: 8114
Joined: Sun Jul 07, 2019 5:11 pm

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#4 Post by CharlesV »

@Nuzzle9533 Just a shout out. I have seen two people link to this post since you created it, and both were telling others that is worked. Good job on this and I will be checking it out shortly too.

Thank you for the post!
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Nuzzle9533
Posts: 49
Joined: Tue May 02, 2023 2:37 am

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#5 Post by Nuzzle9533 »

@CharlesV I am extremely glad someone found it helpful! Thanks for the kind words :)

Erica
Posts: 98
Joined: Thu Apr 18, 2024 12:11 pm

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#6 Post by Erica »

Hello, TY for the HoTo and video, it sure help !
--
MX23 SysVint KDE
Follwed step by step, up until

Code: Select all

sudo systemctl enable --now waydroid-container
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Did you run SystemD or SysVinit ?
ThinkPad T21, T22, .... T440p, P15
Win 3.1, 3.11, 98, XP, 10
Lx Mandrake, Suse, Qubes, MX, I'm a forever-newbe :)

User avatar
Noodle-Impasta
Posts: 1
Joined: Wed May 15, 2024 12:36 pm

Re: [Guide] How to use install Waydroid on MX Linux xfce 21 [Debian 11] | Running Android apps on MX xfce

#7 Post by Noodle-Impasta »

I too had the same error as above, and since then also had it with another application.

After much research it seems that it is an issue with systemd / systemctl and the version 12 of debian... and is originally related to WSL and Ubuntu. See this link for more information:
https://askubuntu.com/a/1379567

HOWEVER, MX Linux has documentation on this issue going farther back, since they have transitioned away from systemd.

To enable systemd in MX Linux I found this info at the below link:
https://mxlinux.org/wiki/system/systemd/
When the GRUB screen is displayed at the very beginning of the boot process, click on Advanced options… and select to use systemd. Use MX Boot Options to make this the default.

Hope this helps with the issues of installing waydroid, perhaps there should be a step to check if systemd is enabled or installed to prevent this issue? or a re-coding of waydroid to work with other init systems as well?
In either case i say this is a waydroid issue and not an MX Linux issue.

Post Reply

Return to “Tips & Tricks by users (not for help)”