Comments (16)
KDE neon uses systemd
so that path of initctl
should not be followed.
from anbox-installer.
+1
from anbox-installer.
Just to add "neon" in the array of supported distributions. I wish this can be quickly done.
from anbox-installer.
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.
from anbox-installer.
sudo apt install unity but still the same result. Okay, now I'm really calling it a night, lol,
from anbox-installer.
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.
+1
from anbox-installer.
@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:
from anbox-installer.
from anbox-installer.
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.
btw i added neon to the installer script, so i guess the systemd stuff needs to be figured out
from anbox-installer.
Systemd support will come with the next updates we're about to release soon.
from anbox-installer.
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.
@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.
@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)
- snap anbox is not noticing LinuxMint Distrubution 18.1
- Will not install in elementaryOS Freya HOT 1
- Debian Stretch : anbox launch : intent error.
- Unsupported distribution on Kali Linux (Debian)
- Distrubution: Deepin 15.4.1 HOT 1
- Solus Unsupported?
- Unsupport openSUSE Leap 42.3 HOT 4
- Unable to install in ubuntu 16.04 LTS ?
- Please support Solus HOT 1
- Anbox support for Zorin OS
- add support for deepin OS
- Please add support for Debian..
- Installation on Ubuntu fails if non-generic kernel is in use. Leaves system in broken state.
- Allow install on Ubuntu Kylin (and Galactic Kylin)
- FAQ and Installer conflict HOT 2
- Fedora installer. HOT 3
- Mint 18.3 error
- MY distro is elementary HOT 2
- Add support for Ubuntu 18.04 HOT 2
- Anbox not opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anbox-installer.