Giter Site home page Giter Site logo

Comments (16)

peterchibunna avatar peterchibunna commented on May 18, 2024 1

KDE neon uses systemd so that path of initctl should not be followed.

from anbox-installer.

peterchibunna avatar peterchibunna commented on May 18, 2024

+1

from anbox-installer.

peterchibunna avatar peterchibunna commented on May 18, 2024

Just to add "neon" in the array of supported distributions. I wish this can be quickly done.

from anbox-installer.

GeitHub avatar GeitHub commented on May 18, 2024

hm.

Added the "neon" line to the installer and everything was going fine until it froze at the initctl line, so I did a sudo apt install upstart and reran the script, but now I'm getting:

snap "anbox" has no updates available

  • '[' '!' -e /etc/X11/Xsession.d/68anbox ']'
    ++ contains Ubuntu LinuxMint neon neon
    ++ local n=4
    ++ local value=neon
    ++ (( i=1 ))
    ++ (( i < 4 ))
    ++ '[' Ubuntu == neon ']'
    ++ (( i++ ))
    ++ (( i < 4 ))
    ++ '[' LinuxMint == neon ']'
    ++ (( i++ ))
    ++ (( i < 4 ))
    ++ '[' neon == neon ']'
    ++ echo y
    ++ return 0
  • '[' y == y ']'
  • case "$(lsb_release -r -s)" in
    ++ lsb_release -r -s
  • '[' '!' -e /home/user/.config/upstart/anbox.conf ']'
  • initctl start anbox
    initctl: Name "com.ubuntu.Upstart" does not exist

too tired to keep playing with this now though

from anbox-installer.

peterchibunna avatar peterchibunna commented on May 18, 2024

from anbox-installer.

GeitHub avatar GeitHub commented on May 18, 2024

sudo apt install unity but still the same result. Okay, now I'm really calling it a night, lol,

from anbox-installer.

peterchibunna avatar peterchibunna commented on May 18, 2024

Ok. update:
I changed my distro version to 17.04
and ran the installer again. It got to the place where it was to start the service and failed.
I rebooted. Tried to start the service: it failed.
I started the service manually but as a process (not in daemon mode)
And then the app runs ok now. No issues yet.

from anbox-installer.

vojta-horanek avatar vojta-horanek commented on May 18, 2024

+1

from anbox-installer.

GeitHub avatar GeitHub commented on May 18, 2024

@peterchibunna so you're running the KDE Neon User Edition now? Could you possibly add the commands that you used to get it working to make the patch easier?

Also, just a quick Google of "initctl: Name "com.ubuntu.Upstart" does not exist" brings up a few bugzillas and it appears that this is a years long issue affecting LTS releases of Ubuntu (didn't look too much into it, though).

edit: This comment explains why 16.04 distros (like Neon LTS) are having issues:

anbox/anbox#21 (comment)

from anbox-installer.

peterchibunna avatar peterchibunna commented on May 18, 2024

from anbox-installer.

GeitHub avatar GeitHub commented on May 18, 2024

Appreciate the recent patch to the installer adding neon support, but still not working on KDE Neon LTS (16.04). Though this is after lots of experimenting trying to get the installer to work, perhaps its working on a fresh install, can anyone confirm? Another idea might be that the "neon" is the ID returned for both LTS and the up to date Ubuntu releases and they might have systemd setup differently.

Here's my log

sudo snap refresh --edge anbox
snap "anbox" has no updates available

  • '[' '!' -e /etc/X11/Xsession.d/68anbox ']'
  • mkdir -p /home/user/.config/upstart
  • echo 'Installing upstart session job ..'
    Installing upstart session job ..
  • cat
  • initctl start anbox
    initctl: Name "com.ubuntu.Upstart" does not exist
  • true
  • mkdir -p /home/user/.config/systemd/user
  • echo 'Installing systemd user session service ..'
    Installing systemd user session service ..
  • cat
  • systemctl --user daemon-reload
    Failed to execute operation: Process org.freedesktop.systemd1 exited with status 1
  • true
  • systemctl --user enable --now anbox
    Failed to execute operation: Process org.freedesktop.systemd1 exited with status 1
  • true
  • set +x

Done!

edit: Finally! Manually running "/snap/bin/anbox session-manager" and then clicking the Anbox Icon finally launches the program. I'm not sure what that means for the script, but at least I've got it running now!

Then it's just a matter of:
https://f-droid.org/FDroid.apk
sudo apt install adb
adb install /home/user/Downloads/FDroid.apk

and you're on your way.

from anbox-installer.

sudopluto avatar sudopluto commented on May 18, 2024

btw i added neon to the installer script, so i guess the systemd stuff needs to be figured out

from anbox-installer.

morphis avatar morphis commented on May 18, 2024

Systemd support will come with the next updates we're about to release soon.

from anbox-installer.

morphis avatar morphis commented on May 18, 2024

Better support for systemd landed now. Please try again with the latest version of the anbox-installer / anbox and reopen if still not fixed.

from anbox-installer.

GeitHub avatar GeitHub commented on May 18, 2024

@morphis not sure how to re-open, but I'm still having the same bug

Fresh install of KDE Neon LTS, sudo apt update, sudo apt upgrade, sudo apt autoremove, reboot

snap install --classic anbox-installer && anbox-installer
1
I AGREE

(should have copied the log here, but I didn't see any errors and it finished with Done!)

reboot

Click the newly created "Android in a Box" icon in Applications > Lost and Found
Nothing.

Open Terminal

anbox session-manager
[EE 2017-05-05 05:44:59] [session_manager.cpp:119@operator()] Failed to start as either binder or ashmem kernel drivers are not loaded

same error when running:
/snap/bin/anbox session-manager

from anbox-installer.

morphis avatar morphis commented on May 18, 2024

@GeitHub The error message is pretty clear. Either /dev/binder or /dev/ashmem doesn't exist. Please ensure the binder_linux and ashmem_linux kernel modules are correctly loaded.

from anbox-installer.

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.