ChrisTitusTech / linutil

Chris Titus Tech's Linux Toolbox - Linutil is a distro-agnostic toolbox designed to simplify everyday Linux tasks.
https://christitus.com
MIT License
2.66k stars 220 forks source link

waydroid setup error #880

Open Yeon0007 opened 2 hours ago

Yeon0007 commented 2 hours ago

Describe the bug

installing waydroid in arch linux, it shows some error at the line "Setting up Waydroid...", maybe some dependency error? dont know exactly

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Applications Setup'
  2. Click on 'Waydroid'
  3. Scroll down to 'Setting up Waydroid...'
  4. Setting up Waydroid...
    │[22:24:14] Failed to load binder driver
    │[22:24:14] modprobe: FATAL: Module binder_linux not found in directory /lib/modules/6.11.5-arch1-1
    │[22:24:14] ERROR: Binder node "binder" for waydroid not found
    │[22:24:14] See also: https://github.com/waydroid
    │Run 'waydroid log' for details.

Screenshots

20241027_22h34m41s_grim

Checklist

adamperkowski commented 2 hours ago

That's a common issue on Arch. You need to install binder_linux-dkms from the AUR. The script should install it automatically but it didn't, I guess. Install it manually and tell me if it worked.

adamperkowski commented 2 hours ago

Oh I know why. Fixing it now.

Yeon0007 commented 2 hours ago

i should wait? can you fix it?

adamperkowski commented 2 hours ago

I'll fix it. Install dkms & linux-headers and rerun the script. Will work.

Yeon0007 commented 2 hours ago

ok

Yeon0007 commented 59 minutes ago

after installing dkms, linux-headers & binder_linux-dkms, it worked but internet connectivity is not working inside waydroid container. may be this is the issue:

sudo waydroid session stop sudo waydroid session start [00:09:14] ERROR: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead [00:09:14] See also: https://github.com/waydroid Run 'waydroid log' for details.

adamperkowski commented 29 minutes ago

Weird. Make sure you have all 'essential' environment variables (like LANG or XDG_SESSION_TYPE) set properly on your system. Other than that, I don't think I can help you much. See https://github.com/waydroid/waydroid/issues/732.