Skip to content
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

I don't understand how to open JuNest AppImages #26

Closed
yataghan012 opened this issue Jun 3, 2024 · 21 comments
Closed

I don't understand how to open JuNest AppImages #26

yataghan012 opened this issue Jun 3, 2024 · 21 comments

Comments

@yataghan012
Copy link

Hi, I downloaded "GNU-Image-Manipulation-Program_2.10.38-1-archimage3.4.1-1-x86_64.AppImage" and "GNU-Image-Manipulation-Program_DEV_2.99.18-2-archimage3.4-x86_64.AppImage", and can't open them.

I installed JuNest from both the pamac (junest-git) and manually (https://github.com/fsquillace/junest). I tried opening the images from the host distro and nothing shows up (execv error: No such file or directory), I also tried from the JuNest environment located at /home/manjaro/.junest/ and says "cannot execute: required file not found". I've made the images executables through chmod.

I'm on Manjaro, Linux LTS 6.6.32-1.

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 3, 2024

Hi, why you should use JuNest to run these Appimages? They are normal Appimages (built using JuNest), its enough to made them executable and run them

simplescreenrecorder-2024-06-03_23.51.52.mkv.mp4

@yataghan012
Copy link
Author

At first I tried not using Junest, but it doesn't work either way.
says "execv error: No such file or directory"

The PPA Appimages do work, though.

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 4, 2024

I need to see a video, some screenshots or at least a log, I can't figure out what happens without enough information

@yataghan012
Copy link
Author

yataghan012 commented Jun 4, 2024

Captura de pantalla_2024-06-03_21-36-42

I use AppImageLauncher to open my images, I don't remember this happening to any other AppImage I've used. I commonly use them.

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 4, 2024

This issue remembers me this ivan-hc/AM#107

Would you like to try using "AM" or AppMan instead?

https://github.com/ivan-hc/AM

https://github.com/ivan-hc/AppMan

@yataghan012
Copy link
Author

yataghan012 commented Jun 4, 2024

This issue remembers me this ivan-hc/AM#107

Would you like to try using "AM" or AppMan instead?

https://github.com/ivan-hc/AM

https://github.com/ivan-hc/AppMan

How can I use AM or AppMan to open AppImages by double clicking it?

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 4, 2024

The ways you can use my gimp appimages using AM or AppMan:

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 4, 2024

Anyway, it's strange that AppimageLauncher can't launch my GIMP AppImages. You should contact the author of AppimageLauncher to report the problem.

Have you tried launching any other AppImage I created? The list is here https://github.com/ivan-hc#my-appimage-packages

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 4, 2024

Also, I've seen that AppimageLauncher is a Type2 AppImage

Istantanea_2024-06-05_01-44-15

it means that it requires libfuse2 to work... while all my AppImages are Type3. I don't know how it manages Type3 AppImages. I only know that Arch Linux and its derivatives have fusermount included in the package fuse2 while Type3 AppImages require fusermount as a symlink to fusermount3 to work.

I've already faced this issue two times ivan-hc/AM#387 ivan-hc/Chrome-appimage#3

I don't know if this is your case.

@yataghan012
Copy link
Author

The ways you can use my gimp appimages using AM or AppMan:

* use `am -i gimp` or `appman -i gimp` to install it as any other normal package manager (not a portable way), see https://github.com/ivan-hc/AM#how-to-install-applications

* use `am --launcher '/path/to/appimage'` or `appman --launcher '/path/to/appimage'` to create a launcher in your apps menu and to give it a name to launche from the terminal, see https://github.com/ivan-hc/AM#how-to-create-launchers-and-shortcuts-for-my-local-appimages

It doesn't launch with AM, same error.

@yataghan012
Copy link
Author

yataghan012 commented Jun 5, 2024

Also, I've seen that AppimageLauncher is a Type2 AppImage

Istantanea_2024-06-05_01-44-15

it means that it requires libfuse2 to work... while all my AppImages are Type3. I don't know how it manages Type3 AppImages. I only know that Arch Linux and its derivatives have fusermount included in the package fuse2 while Type3 AppImages require fusermount as a symlink to fusermount3 to work.

I've already faced this issue two times ivan-hc/AM#387 ivan-hc/Chrome-appimage#3

I don't know if this is your case.

I don't think it's a AppimageLauncher problem.
Why is it that I can run the PPA images and not these?

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 5, 2024

my PPA ones are type2, I don't update them from before I switced to type3

can you try other ones from my lists? For example, google-chrome, edge... the ones marked as based on .deb

There are also the ones marked as "JuNest, Arch Linux (ArchImage)", for example VLC or OBS Studio... try also them and see if they work with AppimageLauncer, just for tests.

@yataghan012
Copy link
Author

VLC , chrome, edge and OBS studio don't work, same error.

What does "Archimage / JuNest require /run/user to work" do i need to configure something?

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 5, 2024

Chrome and Edge are based on the official .deb packages, the others are Archimages.

That fix was done after an experiment I did for non-systemd users. In brief, Archimage is an arch Linux container (see JuNest) into an AppImage (see Archimage). It uses its internal "bubblewrap" to integrate itself on the host system. To do so, it needs to see some directories on the system, nd the two that must do present are /home and /run/user... all others are optional so I've changed this in the last commit. However, non-systemd users need at least to create an empty directory named /run/user on their system. You use Manjaro, so you use systemd like many others.

However, let talk about your issue... all my Type3 AppImages are not working with AppImageLaincher... while the old Type2 ones I've built until July 2023 are working... I'd like to see other Type3 not developed by me to see if your is an issue with these... I need someone that suggests me.

@Samueru-sama , sorry if I always call you, but I don't know other AppImage packager experts other than you.

In brief, @yataghan012 uses Manjaro and none of my AppImages is working on AppimageLauncher. Any idea?

@Samueru-sama
Copy link
Contributor

Samueru-sama commented Jun 5, 2024

appimagelauncher is broken, this is why I usually have this message on my appimages:

It is possible that this appimage may fail to work with appimagelauncher, I recommend this alternative instead: https://github.com/ivan-hc/AM

Back when yuzu was still around, it also failed to integrate its appimage.

When I made the script that made the Ryujinx appimage: Ryujinx/Ryujinx#2492

The user there could not even open Go appimagetool to make the appimage because of appimagelauncher.

I consider appimagelauncher dead at this point, it's last stable release was in 2020 while its last pre-release was in 2022.

Also @ivan-hc I am on a non systemd distro and I have a /run/user directory.

@yataghan012
Copy link
Author

yataghan012 commented Jun 5, 2024

appimagelauncher is broken, this is why I usually have this message on my appimages:

It is possible that this appimage may fail to work with appimagelauncher, I recommend this alternative instead: https://github.com/ivan-hc/AM

Back when yuzu was still around, it also failed to integrate its appimage.

When I made the script that made the Ryujinx appimage: Ryujinx/Ryujinx#2492

The user there could not even open Go appimagetool to make the appimage because of appimagelauncher.

I consider appimagelauncher dead at this point, it's last stable release was in 2020 while its last pre-release was in 2022.

Also @ivan-hc I am on a non systemd distro and I have a /run/user directory.

Is there another way to launch AppImages by double clicking them and in a portable way?

I tried launching them with AM, from the terminal and it didn't work, gave me the same EXACT error. It looks like it's still using appimagelauncher despite using a launcher made with AM (located $/.local/bin/).

@ivan-hc
Copy link
Owner

ivan-hc commented Jun 5, 2024

you should completelly remove appimagelauncher, see ivan-hc/AM#107

@Samueru-sama
Copy link
Contributor

Yeah as Ivan said, you have to remove appimagelauncher and reboot. I don't know why this happens but it was something that I also replicated back then.

@yataghan012
Copy link
Author

yataghan012 commented Jun 5, 2024

I rebooted and my AM launcher finally works, am I supposed to make a launcher for each AppImage i have and launch them from the terminal from now on?

@Samueru-sama
Copy link
Contributor

Samueru-sama commented Jun 5, 2024

I rebooted and my AM launcher finally works, am I supposed to make a launcher for each AppImage i have and launch them from the terminal from now on?

You can also just use am to install them and it puts them in PATH automatically.

am -i gimp for example will install the gimp appimage.

You can also use appman if you want to install the appimages in home like I do.

@yataghan012
Copy link
Author

Nevermind, it works double clicking it too. Thanks I will keep using AM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants