-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to Run AppImages without appimagelauncher Installed or binfmt-bypass #107
Comments
Have you installed it using AppMan? This may be a duplicated of ivan-hc/AppMan#25 and ivan-hc/AppMan#26 In brief you should check your EDIT: AppMan already do these patches when you use it, using the following function
|
is this happening only with obsidian or with all other appimages? |
No, I've encountered this issue with every AppImage I've tested so far. I had to uninstall AppImageLauncher for some reason, and I'm experiencing the problem. The only workaround I've found is to run AppImages with |
I suppose that you're using a minimal DE or just a WM with as less packages installed as possible. Isn't it? |
no i'm running KDE Plasma 5.27.10 with Packages: 2087 (pacman), 18 (flatpak) |
is fuse2 or fuse3 installed? |
yes |
have you tried to revert the order of $PATH in your ~/.profile file?
from the screenshot it seems not |
I've never seen so many paths into a However, you must edit your ~/.profile. If it is not available, add this at the end of the file:
this is my ~/.profile file
it is a priority over ~/.bashrc to have the following line in ~/.bashrc is not enough
|
I don't really know why all this happens. |
is it possible to package binfmt-bypass with AM? so that we can bypass
and remove dependency on AppimageLauncher. P.S i want AM to be the ultmate tool for appimage. i've uninstall AppimageLauncher, bauh, appimagePool |
How you install/use it? Give me as much info as possible and I'll tri to implement it somewhere. Now I go sleep, its 7 am here. I'll read it later. |
you can build it from source or extract I've created an issue at appimageLauncher. lets see if i can get more info from appimageLauncher team ref:
|
I would test this, if you have installed
then
then try to exec a program and tell me if this works for you |
I have seen that AppImageLaunhcer installs a service from "/usr/lib/systemd/user/" named "appimagelauncherd.service" that redirects to "/urs/bin/appimagelauncherd". If the step I've suggested previously is not enoug, you should export also EDIT: I hope that exporting libraries is enough, I don't like the idea of a third party daemon running on my system. |
so it works without the daemon... interesting. If @TheAssassin authorizes me, I could write an option in AM to solve the problem using his libraries |
is |
You need both. The preload library is injected by |
both |
That said, why do you need to worry about these at all anyway? If you want to suppress AppImageLauncher ('s GUI) you can just export an environment variable. |
to be honest I was trying to understand why i can't run appimages without |
Have you ever had installed AppImageLauncher? Then it might be some leftover > cat /proc/sys/fs/binfmt_misc/appimage-type*
enabled
interpreter /usr/lib/x86_64-linux-gnu/appimagelauncher/binfmt-interpreter
flags: F
offset 8
magic 414901
enabled
interpreter /usr/lib/x86_64-linux-gnu/appimagelauncher/binfmt-interpreter
flags: F
offset 8
magic 414902 |
@TheAssassin its exactly what I was thinking about, maybe...
is this correct? |
yes it all started after i uninstalled appimagrlauncher for some reason > cat /proc/sys/fs/binfmt_misc/appimage-type*
enabled
interpreter /usr/bin/AppImageLauncher
flags:
offset 8
magic 414901
enabled
interpreter /usr/bin/AppImageLauncher
flags:
offset 8
magic 414902 |
@ivan-hc if they do not intend to use AppImageLauncher, there is no reason to worry about @nazdridoy for a quick test, I suggest you disable binfmt_misc temporary using You may have to reboot to get rid of those rules if you had AppImageLauncher installed in the meantime. While systemd's binfmt_misc integration enables new rules very quickly, it doesn't recognize that the configuration files were deleted and thus does not remove those rules. If you do not want to reboot and are on Debian, you can use Edit: AppImageLauncher's packaging scripts request a reboot from the user in a short message. They also set a flag on the system so that Ubuntu, Debian etc. suggest restarting like any other package would. Sometimes, people overlook those messages, though. |
yeap that fixed the issue.
hmm. i don't remeber seeing any warning. but thank you for the clearification. am going to close both of the issue. |
@nazdridoy I've not understood, was it the active service that prevented you from running the Appimages? |
@ivan-hc re-reading #107 (comment), I suggest you remove those comments. They are quite misleading and could cause people more harm than good. As said, binfmt-bypass is a component only AppImageLauncher itself should ever use directly. That's why it's not exposed to the user but "hidden" in
It was a left-over from a previous AppImageLauncher installation paired with a user who clearly doesn't know the internals of AppImageLauncher (who I don't blame for that, by the way, you shouldn't need to know). Most of the discussion was leading away from the first fact, causing you to chase red herrings. |
umm.. as far as i understand. yes. some leftover from the appimagelauncher was causing the issue. and binfmt-bypass was jut bypassing binfmt_misc. |
Description
Issue Summary
I'm encountering difficulties running AppImages without having appimagelauncher installed. Whenever I attempt to run an AppImage, I receive an error message stating "no such file or directory," even though I can visibly see the file in question. Interestingly, I found that if I have a copy of /usr/lib/appimagelauncher/binfmt-bypass from appimagelauncher, I can successfully run the AppImages using the command ./binfmt-bypass demo.appimage.
Steps to Reproduce
Environment
Additional Information
The text was updated successfully, but these errors were encountered: