How to launch Anbox?

37,754

Solution 1

For Ubuntu, just click on the Anbox icon in the dash.

It's supposed to automatically launch the 'anbox session-manager' and then the gui application window.

Currently it's broken for me and doesn't work in Ubuntu (bitten by bug https://github.com/anbox/anbox/issues/367) :(

Solution 2

If you use the snap, $ anbox.appmgr is your friend.

Solution 3

You probably need to load the kernel modules ashmem and binder by running

sudo modprobe ashmem_linux
sudo modprobe binder_linux

Solution 4

Install DKMS package from PPA In order to add the PPA to your Ubuntu system please run the following commands:

$ sudo add-apt-repository ppa:morphis/anbox-support
$ sudo apt update
$ sudo apt install linux-headers-generic anbox-modules-dkms

$ sudo modprobe ashmem_linux
$ sudo modprobe binder_linux

Now try to run Anbox, it will run without any issues ;)

Share:
37,754

Related videos on Youtube

Inferno_geek
Author by

Inferno_geek

Updated on September 18, 2022

Comments

  • Inferno_geek
    Inferno_geek almost 2 years

    I understand, that Anbox is in super alpha, but I need help. I cannot launch it. There is terminal entries:

    $ anbox launch  
    [EE 2017-04-27 16:03:20] [launch.cpp:76@operator()] Anbox session manager     service isn't running!  
    $ anbox session-manager  
    [EE 2017-04-27 16:03:44] [session_manager.cpp:119@operator()] Failed to start     as either binder or ashmem kernel drivers are not loaded  
    
  • Zanna
    Zanna about 6 years
    can you add some explanation? I don't even have such modules...
  • sonu
    sonu almost 6 years
    "modprobe: FATAL: Module binder_linux not found in directory /lib/modules/4.15.0-34-generic" This message is coming on my ubuntu 18.04
  • Ankit Tripathi
    Ankit Tripathi over 5 years
    $ sudo add-apt-repository ppa:morphis/anbox-support $ sudo apt update $ sudo apt install linux-headers-generic anbox-modules-dkms
  • Federico
    Federico about 4 years
    Not everybody uses icons.
  • polendina
    polendina almost 3 years
    at elementary os hera , anbox indeed didn't show up in the applications menu ,but this CLI command did initiate it .