# Can't run AppImage on Elive 64bit

**URL:** <https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386>\
**Category:** Applications\
**Created:** [August 20, 2020, 8:19am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386 "2020-08-20T08:19:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cecca](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@cecca](https://forum.elivelinux.org/u/cecca)\
**Post date:** [August 20, 2020, 8:19am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/1 "2020-08-20T08:19:07Z")

</div>

Hi!  
I'm trying to use some AppImages on my shiny new Elive 64bit.  
I've downloaded the file, run `chmod +x` and then ran but the problem is the following (example with Balena Etcher):

```bash
    [23569:0820/100824.959013:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_balenaj26YNf/chrome-sandbox is owned by root and has mode 4755.
/tmp/.mount_balenaj26YNf/balena-etcher-electron: riga 10: 23569 Rilevato trace/breakpoint "${script_dir}"/balena-etcher-electron.bin "$@"

```

What can I do?  
Other appimages works fine (e.g. pCloud)

Thanks!

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 20, 2020, 8:44am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/2 "2020-08-20T08:44:58Z")

</div>

As the message says, there's a SUID issue ..... try running with "sudo"

---

<div class="post-metadata">

**Author:** ![cecca](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@cecca](https://forum.elivelinux.org/u/cecca)\
**Post date:** [August 20, 2020, 11:34am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/3 "2020-08-20T11:34:10Z")

</div>

I see... But why some apps require sudo and other not?  
Ok for Balena Etcher, but why for an email client (tutanota)? There's a logical answer or it is just a decision made from the developers?

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 20, 2020, 11:50am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/4 "2020-08-20T11:50:31Z")

</div>

It's primarily a developer decision but admittedly they have the "worry" that not all distros are alike.

- Some allow user mounting/hot-plugging where others still adhere to the old adagium that only root is allowed to.
- Some have "sudo", some don't and require "su"
- and there's the numerical UID compared to using the user-names.
- Not forgetting the permissions needed to run (and inherit) from /tmp differs per distro.

In general, appimages have a problem due to inheriting the uid of the directory they're started from and try to circumvent that by running from /tmp (or they make sure that all permissions are at a user level).

As to "tutanota" ..... I don't see the need of using a dedicated e-mail client to access a host service. 🤔

---

<div class="post-metadata">

**Author:** ![cecca](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@cecca](https://forum.elivelinux.org/u/cecca)\
**Post date:** [August 20, 2020, 12:56pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/5 "2020-08-20T12:56:45Z")

</div>

First of all thanks for your explanation.

> [@triantares](#):
>
> As to "tutanota" ..... I don't see the need of using a dedicated e-mail client to access a host service. 🤔

You're right: it was just an old habit 😄  
Maybe this would be the time that I'll change my mind about some habits

---

<div class="post-metadata">

**Author:** ![TheTechRobo](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thetechrobo/32/3394_2.png) [@TheTechRobo](https://forum.elivelinux.org/u/TheTechRobo)\
**Post date:** [August 20, 2020, 1:30pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/6 "2020-08-20T13:30:12Z")

</div>

If your problem still isn't fixed...

> You need to make sure that /tmp/.mount\_balenaj26YNf/chrome-sandbox is owned by root and has mode 4755.

That's easy.

```bash
sudo chown root:root /tmp/.mount_balenaj26YNf/chrome-sandbox #To change the owner of that dir to root
sudo chmod 4755 /tmp/.mount_balenaj26YNf/chrome-sandbox #To make the dir have mode 4755

```

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 20, 2020, 3:30pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/7 "2020-08-20T15:30:52Z")

</div>

> [@TheTechRobo](#):
>
> That's easy.

It looks easy but isn't .... as that mount will (should)l disappear after the program shuts down i.e you will have to incorporate that into the script.  
As it will be mounted by root, the user will not be able to unmount so won't be able to stop the process.

---

<div class="post-metadata">

**Author:** ![cecca](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/c/cc9497/32.png) [@cecca](https://forum.elivelinux.org/u/cecca)\
**Post date:** [August 20, 2020, 4:08pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/8 "2020-08-20T16:08:12Z")

</div>

At this point I think I'll run with sudo if needed

At the moment the only appimage that I need (maybe) and that needs sudo privileges is Balena Etcher, but is not used on a daily bases so is not such a problem  
Thanks for your reply, I've learned something new today

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [August 20, 2020, 7:45pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/9 "2020-08-20T19:45:46Z")

</div>

I'm a command line freako so I never even contemplate a GUI proposition, considering it to be inferior at best and at worst an insult to my intelligence. :madness:

Then again my favorite "dd" also requires "sudo" on Elive to access a flashdrive, i.e:  
`"sudo dd if=Downloads/clonezilla-live-2.6.0-37-amd64.iso of=/dev/sdb bs=4M status=progress"`

Think about it this way:  
Every programmer writes his/her program (functionality) with commandline/script first and adds a GUI as an after-thought to accommodate those who tend to get lost in the options. 😱  
It's never the other way round.

---

<div class="post-metadata">

**Author:** ![Rebel450](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/rebel450/32/2737_2.png) [@Rebel450](https://forum.elivelinux.org/u/Rebel450)\
**Post date:** [August 24, 2020, 7:34pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/10 "2020-08-24T19:34:17Z")

</div>

> [@triantares](#):
>
> I'm a command line freako so I never even contemplate a GUI proposition

Ahm .....  
:ohmygod:  
:rofl2:  
.  
LOL

Well, in my case it's the other way around -  
that's why our ( @triantares & @Rebel450) discussions are always so .... effective ...  
.  
:madness:

---

<div class="post-metadata">

**Author:** ![Emil](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/e/f4b2a3/32.png) [@Emil](https://forum.elivelinux.org/u/Emil)\
**Post date:** [May 27, 2022, 8:50pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/11 "2022-05-27T20:50:08Z")

</div>

> [@TheTechRobo](#):
>
> You need to make sure that /tmp/.mount\_balenaj26YNf/chrome-sandbox is owned by root and has mode 4755

I just stumbled upon this old thread because I was looking for a solution for exactly the same problem: some AppImages out of a bunch of them was just working, and some not with the identical error message. Trying to chmod and to chown as suggested above did not work, because after the error the whole process is aborted, and there are no temporary files left. Sudo does not help either. For me the solution was to enter this in the Terminal:

```bash
./MyAppImage --no-sandbox

```

Maybe this helps someone else with the same problem.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [May 28, 2022, 4:11am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/12 "2022-05-28T04:11:32Z")

</div>

Actually a support of AppImage files [has been implemented](https://github.com/Elive/elive-tools/commit/2a5901a3b778e071fec230f5bc8c2b290d580227) in the last versions (bullseye experimental builds).

_(as simple as double-click in the AppImage file in your file-managers)_

They only support "do you want to run it as root?" but looking at @Emil last comment seems like more options are needed like --no-sandbox [so i committed this improvement](https://github.com/Elive/elive-tools/commit/47633a0e0f516df3f0b02082d900fe59f3a8a140), is there any other needed options for it?

---

<div class="post-metadata">

**Author:** ![triantares](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/triantares/32/2550_2.png) [@triantares](https://forum.elivelinux.org/u/triantares)\
**Post date:** [May 28, 2022, 7:47am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/13 "2022-05-28T07:47:31Z")

</div>

Wouldn't it be a better option to have it create a .desktop file and add it to the menu?  
That is of course taking for granted the user wants to keep the app. 🤔

Personally, I do that with the 'TOR onion browser' by running it and adding/keeping the icon on the dock.

[![](https://i.imgur.com/bb5C5Zy.png) ](https://i.imgur.com/bb5C5Zy.png)

---

<div class="post-metadata">

**Author:** ![Emil](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/e/f4b2a3/32.png) [@Emil](https://forum.elivelinux.org/u/Emil)\
**Post date:** [May 28, 2022, 12:13pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/14 "2022-05-28T12:13:10Z")

</div>

> [@Thanatermesis](#):
>
> any other needed options for it?

It seems there are no other options needed. AppImages do not always seem to work properly, I have found. I like the idea of a self-sufficient app bringing everything necessary with it and running everywhere. But trying out quite a few of them (out of curiosity) under Linux Mint, I realized that this is not always the case for unknown reasons. I am not a programmer, and I did not always launch them from the terminal, but by double-click. The majority works, but a few refuse to do their job in Linux Mint. Unfortunately there were also some I really was interested in, but what can you do?  
Yesterday I copied my AppImage collection over to my Elive Mac, because I was curious how they would behave under Elive. Most of them work there, too, but a couple of them didn't, and it was mostly that sandbox problem, and in one case the update mechanism of the app seemed to get stuck after having found out that there was no new update available.  
Some of the AppImages also ask you if you would like to have a menu entry, but not all of them. And there is one other issue: some apps only have a menubar icon when running under Gnome or Cinnamon for instance. In Elive they do run in the background, but you cannot see them or change configurations easily. They also do not show up in the dock. The dock seems do depend on a program having a window.

One probably would have to ask the AppImage developers about finding workarounds for menubar-less distros.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 2, 2022, 12:39am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/15 "2022-06-02T00:39:05Z")

</div>

> [@triantares](#):
>
> Wouldn't it be a better option to have it create a .desktop file and add it to the menu?

hum... 🤔 do you mean that:

1. double click launchers the AppImage
2. after run it, ask the user if wants to create a launcher for this application ?
  1. ask which application category (image/video/audio, etc) to set it
  2. ask name for app
  3. an icon should be needed too

in such case, the .desktop file can be created, and then the AppImage should be stored somewhere, probably in ~/.local/bin/ is the best place for it

> [@Emil](#):
>
> I realized that this is not always the case for unknown reasons.

Probably missing libs? it is meant that they should be all the needed ones included (that's the purpose of this format)

To launch them from terminal, just open a terminal on that place and if has exec permissions just run the file itself as "./someapp.appimage"

Can you tell me a few ones that doesn't work? i wanna try them there

Sandbox problem implemented in last updates when double click the file 🙂

Yes, you need to ask support for menubar-less desktops (not distros), only gnome (mostly) has that menubar so these applications should support more desktops and not only gnome, that's called desktop-agnostic

---

<div class="post-metadata">

**Author:** ![Emil](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/e/f4b2a3/32.png) [@Emil](https://forum.elivelinux.org/u/Emil)\
**Post date:** [June 2, 2022, 10:28am UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/16 "2022-06-02T10:28:23Z")

</div>

> [@Thanatermesis](#):
>
> Can you tell me a few ones that doesn't work? i wanna try them there

In my last post I mentioned a couple of major and minor issues, the most serious one, the sandbox issue has been addressed and fixed (did not come back to my Elive Mac in the meantime; writing from my Mint box now) by you already.  
The other two:

1. Stuck update mechanism

2. Desktop menu integration question

To begin with the latter: under Mint most (but even there not all, as far as I remember, ask about a desktop menu entry. in Elive they almost never do. And if you click 'Yes', it is no guarantee that there will be one afterwards. Maybe this has something to do with the inner workings of Enlightenment?  
The former problem does not occur in Linux Mint (the lockup after the update).  
I will run through my Appimages on the Elive machine as soon as possible and report again, so you can see for yourself.

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/thanatermesis/32/3_2.png) [@Thanatermesis](https://forum.elivelinux.org/u/Thanatermesis)\
**Post date:** [June 2, 2022, 3:19pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/17 "2022-06-02T15:19:31Z")

</div>

> [@Emil](#):
>
> in Elive they almost never do. And if you click 'Yes', it is no guarantee that there will be one afterwards.

I wonder if we should use that or instead, elive should add its own .desktop system compatible with all the AppImages 🤔

Can you tell me about an AppImage application that asks for the .desktop so I can betatest it here and see how it behaves?

> [@Emil](#):
>
> Maybe this has something to do with the inner workings of Enlightenment?

yes, the .desktop is probably included but the menu of e16 is not regenerated until your next re-login into the desktop, the menu of your dock instead is always updated so you can verify it from here too

Ok, just give me the links of the AppImage's that has errors in Elive and ill check them there

---

<div class="post-metadata">

**Author:** ![Emil](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/e/f4b2a3/32.png) [@Emil](https://forum.elivelinux.org/u/Emil)\
**Post date:** [June 2, 2022, 4:40pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/18 "2022-06-02T16:40:33Z")

</div>

> [@Thanatermesis](#):
>
> the menu of e16 is not regenerated until your next re-login into the desktop

I did not know that - so I will have to double-check this on my actual Elive installation plus on the new elive+ live system under e16 and e25. I did a brief test run of Elive+ with both e16 and 25, but without focus on anything particular. On startup there are a few discouraging messages about my old computer, but I ignored them, and the 8GB of RAM seem to have been sufficient enough to run everything without restrictions. Nothing was slow, for instance. I used the 5.10 kernel, because I have older hardware, and no bleeding-edge peripherals either. So far the good news.  
I will get back to you about the AppImages again.

---

<div class="post-metadata">

**Author:** ![Lorenzo\_Francisco](https://forum.elivelinux.org/user_avatar/forum.elivelinux.org/lorenzo_francisco/32/2727_2.png) [@Lorenzo\_Francisco](https://forum.elivelinux.org/u/Lorenzo_Francisco)\
**Post date:** [June 7, 2022, 4:47pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/19 "2022-06-07T16:47:00Z")

</div>

creo que es la mas bonita de linux

---

<div class="post-metadata">

**Author:** ![Emil](https://forum.elivelinux.org/letter_avatar_proxy/v4/letter/e/f4b2a3/32.png) [@Emil](https://forum.elivelinux.org/u/Emil)\
**Post date:** [June 7, 2022, 7:37pm UTC](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386/20 "2022-06-07T19:37:15Z")

</div>

> [@Emil](#):
>
> I will get back to you about the AppImages again.

More good news: I tested all my AppImages under 3.8.27+ with the 10.15 kernel and e16. They all work ok without errors. The only difference between them is that some ask if they should create a menu entry and most don't. I cannot see any reason for this behaviour, but the most important thing is that you can launch them by double-click or in the Terminal, and that they do their job. And even my one and only desktop-agnostic Appimage - BreakTimer - leaves an icon in the Iconbox in the upper left corner, so it is accessible in spite of the fact that e16 has no menubar/taskbar.  
In short: I do not see any urgent problems any more...

[Next page](https://forum.elivelinux.org/t/cant-run-appimage-on-elive-64bit/2386.md?page=2)
