You are not logged in.

#1 2022-03-04 14:38:25

askreceive
Member
Registered: 2022-03-01
Posts: 48

[Solved] Can't run appimage

I recently did a fresh install of Arch and installed KDE plasma-desktop package for minimal distribution. I installed Dolphin for file manager and KDE partition manager to automount other drives on my system.

I have folders of Appimages I want to run, but even with the permission set, it always give me this error:
"Unknown error code 100
execvp: Permission denied
Please send a full bug report at https://bugs.kde.org"

I installed other file manager just to test it out, but instead it gives me unknown application error. I tried looking for solutions to no avail. This never happened with my previous installation of KDE/XFCE. I'm presuming I missed packages to run Appimage applications, but I'm not sure if Appimages require extra packages in the first place.

Last edited by askreceive (2022-03-05 11:34:50)

Offline

#2 2022-03-04 15:11:53

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

even with the permission set

Which permissions?

stat /path/to/stupid.AppImage

Last edited by seth (2022-03-04 15:12:10)

Online

#3 2022-03-04 15:17:06

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

Size: 55121088      Blocks: 107664     IO Block: 4096   regular file
Device: 8,1    Inode: 18874372    Links: 1
Access: (0755/-rwxr-xr-x)  Uid: ( 1000/vesseltoast)   Gid: ( 1000/vesseltoast)
Access: 2022-03-04 21:43:56.812458181 +0700
Modify: 2022-01-31 20:09:14.242280000 +0700
Change: 2022-03-04 21:35:09.321757669 +0700
Birth: 2022-03-04 21:09:57.101080009 +0700

That's the output of the command you gave me, but I meant execute permission earlier.

Last edited by askreceive (2022-03-04 15:25:24)

Offline

#4 2022-03-04 15:24:56

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

Can you execute the appimage from an interactive shell (konsole)?
Do you use firejail?

errno 100 is "ENETDOWN 100 Network is down" - can you "ping google.com" on that system?

Online

#5 2022-03-04 15:26:38

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

I'm not sure how to do that, but I don't use firejail

Offline

#6 2022-03-04 15:28:14

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

You're not sure how to *what*? Run an executable from bash???

Online

#7 2022-03-04 15:30:45

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

Oh, I apologize. I did run it through terminal, and it gave me permission denied error, even with sudo. I tested it with all the appimages I have on my drive. I even moved the files to my home folder, to no avail.

pinging google.com resulted in icmp port unreachable error.

Last edited by askreceive (2022-03-04 15:36:52)

Offline

#8 2022-03-04 15:36:43

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

Don't "sudo" random stuff - sudo is not a general permission fix.

strace the execution

strace -fo /tmp/appimage.strace ./appimage.AppImage

and post the resulting /tmp/appimage.strace
Edit: postpone that.

pinging google.com results in port unreachable error. My internet is fine, however.

These two things cannot be true at the same time and that's also not the ping output.

ip a; ip r
ping -c1 google.com
ping -c1 8.8.8.8
drill google.com
drill @8.8.8.8 google.com

Post the *exact* outputs (in code tags, https://bbs.archlinux.org/help.php#bbcode ) - do not paraphrase or interpret them.

Last edited by seth (2022-03-04 15:39:00)

Online

#9 2022-03-04 15:39:12

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

strace: exec: Permission denied

Offline

#10 2022-03-04 15:45:19

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

ip a; ip r

I apologize, but I hid the ip addresses in (ip address); those are the ip addresses of the VPN server I'm connecting through.

Last edited by askreceive (2022-03-04 15:54:12)

Offline

#11 2022-03-04 15:50:25

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

wg-mullvad

Get rid of the VPN and try again.
You're resolving and trying to ping an IPv6 but likely have only IPv4 available (ping 8.8.8.8 works)

If skipping the VPN doesn't resolve the "ping google.com" issue, post the outputs of

stat /etc/resolv.conf
cat /etc/resolv.conf
cat /etc/nsswitch.conf
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Online

#12 2022-03-04 16:00:24

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

e

Last edited by askreceive (2022-03-05 07:46:04)

Offline

#13 2022-03-04 16:09:16

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

nameserver 100.64.0.7

That's your router? A pihole?
Replace that w/ 8.8.8.8 (preferably use the NM configuration) and try again.
Also install dig ("bind" package) or drill ("ldns") so we can check what resolves what in what order.

My network does support IPv6

I'd like to post the line from #10 that disproves that, but it's gone. So you'll have to believe me that "no, doesn't".

Online

#14 2022-03-04 16:10:25

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

seth wrote:
nameserver 100.64.0.7

That's your router? A pihole?
Replace that w/ 8.8.8.8 (preferably use the NM configuration) and try again.
Also install dig ("bind" package) or drill ("ldns") so we can check what resolves what in what order.

My network does support IPv6

I'd like to post the line from #10 that disproves that, but it's gone. So you'll have to believe me that "no, doesn't".

I don't see the relevance of pinging google. com with the permission issue

seth wrote:

errno 100 is "ENETDOWN 100 Network is down"

Feel free to post the actual strace of the attempt as well.

Online

#15 2022-03-04 16:17:06

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

I edited the message, yeah I meant no, it does not support IPv6. And I'm not sure if that's my router or not, but I do not use pihole.
I'll try  configuring it with 8.8.8.8 tomorrow. I'm quite tired and fed up with this issue since it's very unusual, and it worked on previous DE before.

Offline

#16 2022-03-04 16:20:43

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

And I'm not sure if that's my router or not

ping _gateway
nmap 100.64.0.7

Take your time.

Online

#17 2022-03-04 16:28:25

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

Thank you for the response and suggestions.

As a side note, I installed xfce4 and ran the appimages; This error seem to occur on Dolphin filemanager. Other filemanagers did not return an error, but it did not detect the appimage as exectuable, even with the permissions set, and it instead, prompted me with "choose what applications to run this file" menu.

Last edited by askreceive (2022-03-04 16:34:38)

Offline

#18 2022-03-04 16:34:54

seth
Member
Registered: 2012-09-03
Posts: 59,896

Re: [Solved] Can't run appimage

Avoid that clickstuff altogether for now and always try to execute the appimage from the interactive shell.
There's no defined behavior for "I clicked an icon" and therefore the approach only introduces variables that will skew the results.
You can then look into "make filemanager behave" when the principal functionality is established.

Online

#19 2022-03-05 07:49:39

askreceive
Member
Registered: 2022-03-01
Posts: 48

Re: [Solved] Can't run appimage

I sincerely apologize for complicating matters. I managed to narrow down the issue and finally solved it.

I tested the appimages again by moving them to my home folder; It worked, so I figured out it must be related to disk or partition permissions. I used KDE partition manager and added exec, +x on the mount options for my drives, and the appimages work now.

Thank you for the quick suggestions and response, nevertheless. I really appreciate them.

Edit: Thus the issue is now resolved. I'd like to mark this as solved, but I'm new here, so I don't know how to do that.

Last edited by askreceive (2022-03-05 07:52:23)

Offline

#20 2022-03-05 09:05:11

sekret
Member
Registered: 2013-07-22
Posts: 290

Re: [Solved] Can't run appimage

askreceive wrote:

Edit: Thus the issue is now resolved. I'd like to mark this as solved, but I'm new here, so I don't know how to do that.

You edit the title of the thread and add a [solved] to the front. You can edit the title by editing your first post. Then the title line will appear.

Last edited by sekret (2022-03-05 09:06:19)

Offline

Board footer

Powered by FluxBB