Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AppImage: fuse: failed to exec fusermount: Permission denied
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mrfabiolo
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2011
Posts: 98

PostPosted: Sat Jul 06, 2024 6:44 am    Post subject: AppImage: fuse: failed to exec fusermount: Permission denied Reply with quote

I'm trying to run the SimpleX app:
https://simplex.chat/downloads/#desktop-app

This is the AppImage:
https://github.com/simplex-chat/simplex-chat/releases/latest/download/simplex-desktop-x86_64.AppImage

Code:
$ chmod +x simplex-desktop-x86_64.AppImage

$ ./simplex-desktop-x86_64.AppImage
fuse: failed to exec fusermount: Permission denied

Cannot mount AppImage, please check your FUSE setup.
You might still be able to extract the contents of this AppImage
if you run it with the --appimage-extract option.
See https://github.com/AppImage/AppImageKit/wiki/FUSE
for more information
open dir error: No such file or directory


Code:
$ ls -l /usr/bin/fuse*
-rwxr-xr-x 1 root root 43632 Apr 29 22:22 /usr/bin/fuser*
-rws--x--x 1 root root 39008 May  4 10:49 /usr/bin/fusermount*
-rws--x--x 1 root root 39008 Mar 19 02:24 /usr/bin/fusermount3*


Maybe it's not Gentoo related; thanks anyway.
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 417

PostPosted: Sat Jul 06, 2024 8:33 am    Post subject: Reply with quote

I got the same error as you.

Per this:
https://github.com/AppImage/type2-runtime/issues/15#issuecomment-1762097639
and this:
https://github.com/simplex-chat/simplex-chat/issues/4402#issuecomment-2210771416
I tried:
Code:
FUSERMOUNT_PROG=/bin/fusermount  ./simplex-desktop-x86_64.AppImage

But I got the following errors:
Code:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/.mount_simplenkiOlK/usr/lib/app/resources/libapp-lib.so: libffi.so.7: cannot open shared object file: No such file or directory
        at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
        at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
        at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
        at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
        at java.base/java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.base/java.lang.Runtime.load0(Unknown Source)
        at java.base/java.lang.System.load(Unknown Source)
        at chat.simplex.desktop.MainKt.initHaskell(Main.kt:37)
        at chat.simplex.desktop.MainKt.main(Main.kt:21)
        at chat.simplex.desktop.MainKt.main(Main.kt)

Per the last link, I emerged libffi-compat.
I tried again:
Code:
FUSERMOUNT_PROG=/bin/fusermount  ./simplex-desktop-x86_64.AppImage
D: useDatabaseKey true
D: sendCmd: apiSetAppFilePaths
D: sendCmd response type cmdOk
D: sendCmd: apiSetEncryptLocalFiles
D: sendCmd response type cmdOk
D: sendCmd: showActiveUser
D: sendCmd response type chatCmdError
D: apiGetActiveUser: chatCmdError chat noActiveUser
D: sendCmd: listRemoteHosts
D: sendCmd response type remoteHostList
D: user: null
D: ChatController startReceiver
D: sendCmd: setLocalDeviceName
D: sendCmd response type cmdOk
D: startChat: started without user

It opened, but the SimpleX display window was garbled and not usable.
Good Luck.
Edit: It hit me when I tried it I was logged into a Wayland session. It opened and rendered fine in X .
In Wayland:
Code:
FUSERMOUNT_PROG=/bin/fusermount GDK_BACKEND=x11  ./simplex-desktop-x86_64.AppImage
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22598

PostPosted: Sat Jul 06, 2024 12:00 pm    Post subject: Reply with quote

When FUSERMOUNT_PROG is not set, what path(s) does the application try to use to find fusermount?
Back to top
View user's profile Send private message
rab0171610
Guru
Guru


Joined: 24 Dec 2022
Posts: 417

PostPosted: Sat Jul 06, 2024 5:08 pm    Post subject: Reply with quote

@Hu,
That I don't know. You would understand it better than I can by reading the posts in those two github issues links I posted -- there are some references to Gentoo as well as other distros. The version of the appimage the OP provided a link for is the one I tested and got at least to open. This issue may have been fixed in the newer versions on Github. Apparently it works fine on some distros and not others with regard to the fuser issue.
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 391

PostPosted: Thu Jul 11, 2024 9:52 am    Post subject: Reply with quote

Enable fuse in kernel.

emerge --ask sys-fs/fuse:0

emerge -a net-print/cups
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22598

PostPosted: Thu Jul 11, 2024 1:56 pm    Post subject: Reply with quote

I skimmed the issues and did not see an answer. Someone who can try to run this could find the answer via strace.

RIA77: why cups?
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 391

PostPosted: Thu Jul 11, 2024 5:51 pm    Post subject: Reply with quote

I run appimages on a daily basis.
It just won't work without cups.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum