0

When I run anbox session-manager command (not root) I get this error:

dbus[19950]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

[ 2019-01-23 13:04:51] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to set config item lxc.pts
[ 2019-01-23 13:04:51] [session_manager.cpp:145@operator()] Lost connection to container manager, terminating.
[ 2019-01-23 13:04:52] [daemon.cpp:61@Run] Container is not running
[ 2019-01-23 13:04:52] [session_manager.cpp:145@operator()] Lost connection to container manager, terminating.
Stack trace (most recent call last) in thread 19961.

Also, when I run anbox launch, I get this:

switch@switch:~$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
dbus[26097]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

[ 2019-01-23 13:09:54] [daemon.cpp:61@Run] Failed to retrieve ready property from application manager

Also I have to say, that when running an anbox window pops up (starting...) and then close when appearing:

[ 2019-01-23 13:09:54] [daemon.cpp:61@Run] Failed to retrieve ready property from application manager

Could this be a problem when I use an old android image version of anbox for arm64?

I used this image to setup the container:

https://build.anbox.io/android-images/2017/08/04/

Greetings!

PS: here's the container's config:

lxc.mount.auto = proc:mixed sys:mixed cgroup:mixed
lxc.autodev = 1
lxc.pty.max = 1024
lxc.tty.max = 0
lxc.uts.name = anbox
lxc.environment = PATH=/system/bin:/system/sbin:/system/xbin
lxc.init.cmd = /anbox-init.sh
lxc.rootfs.path = /var/lib/anbox/rootfs
lxc.log.level = 0
lxc.log.file = /var/lib/anbox/logs/container.log
lxc.console.logfile = /var/lib/anbox/logs/console.log
lxc.console.rotate = 1
lxc.apparmor.profile = unconfined
lxc.idmap = u 0 100000 999
lxc.idmap = g 0 100000 999
lxc.idmap = u 1000 1000 1
lxc.idmap = g 1000 1000 1
lxc.idmap = u 1001 101001 64535
lxc.idmap = g 1001 101001 64535
lxc.mount.entry = /run/user/1000/anbox/sockets/qemu_pipe /var/lib/anbox/rootfs/dev/qemu_pipe none bind,create=file,optional 0 0
lxc.mount.entry = /run/user/1000/anbox/sockets/anbox_audio /var/lib/anbox/rootfs/dev/anbox_audio none bind,create=file,optional 0 0
lxc.mount.entry = /run/user/1000/anbox/input /var/lib/anbox/rootfs/dev/input none bind,create=dir,optional 0 0
lxc.mount.entry = /run/user/1000/anbox/sockets/anbox_bridge /var/lib/anbox/rootfs/dev/anbox_bridge none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/zero dev/zero none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/urandom dev/urandom none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/random dev/random none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/ashmem dev/ashmem none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/fuse dev/fuse none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/binder dev/binder none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/console dev/console none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/full dev/full none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/devices/tty dev/tty none bind,create=file,optional 0 0
lxc.mount.entry = /var/lib/anbox/state/default.prop /var/lib/anbox/rootfs/default.prop none bind,optional,ro 0 0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.