Coder Social home page Coder Social logo

Comments (8)

morphis avatar morphis commented on May 19, 2024

@maxolasersquad Which operating system are you using?

from anbox.

maxolasersquad avatar maxolasersquad commented on May 19, 2024

Ubuntu 16.04 64-bit

from anbox.

morphis avatar morphis commented on May 19, 2024

Ah, don't run initctl as sudo! You need to run it as a regular user and the anbox-installer doesn't do that too. See https://github.com/anbox/anbox-installer/blob/master/installer.sh#L171

from anbox.

maxolasersquad avatar maxolasersquad commented on May 19, 2024

The anbox installer has to run as sudo (right?). So when it tries to run initctl, it's running as root. Am I missing something?

$ snap install --classic anbox-installer && anbox-installer
error: access denied (try with sudo)

$ sudo snap install --classic anbox-installer && anbox-installer
[sudo] password for david: 
anbox-installer 1 from 'morphis' installed
zsh: command not found: anbox-installer

$ sudo snap install --classic anbox-installer
Android in a Box - Installer


IMPORTANT: THIS IS ALPHA LEVEL SOFTWARE. EXPECT INSTABILITY AND
           BUGS !!!!!

IMPORTANT: ALSO PLEASE BE AWARE THAT WE DON'T PROVIDE FULL
           CONFINEMENT FOR THE SNAP YET !!!!

from anbox.

morphis avatar morphis commented on May 19, 2024

@maxolasersquad No, the anbox-installer should be run as sudo but I see this is a regular failure people are doing. Just run anbox-installer as regular user. The script will use sudo when needed.

from anbox.

maxolasersquad avatar maxolasersquad commented on May 19, 2024

As you can see from my output above, only sudo can see the anbox-installer.

from anbox.

morphis avatar morphis commented on May 19, 2024

anbox/anbox-installer#2 should help here.

@maxolasersquad Everyone can see anbox-installer. I guess it's just not in your PATH. Add export PATH=$PATH:/snap/bin and it will work. Otherwise run as /snap/bin/anbox-installer.

from anbox.

maxolasersquad avatar maxolasersquad commented on May 19, 2024

Adding that to my path seemed to do the trick. FWIW, the website should probably be updated to indicate that snap install --classic anbox-installer needs sudo, while the other cannot use sudo.

from anbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.