-
Notifications
You must be signed in to change notification settings - Fork 129
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
AppImage executable won't launch #363
Comments
Thank you for the report. Sounds like this: https://docs.appimage.org/user-guide/troubleshooting/electron-sandboxing.html |
@jfaltermeier, that seems not to be the problem. I use Ubuntu 24.04. and have the same problem.
So no need for the sandbox-fix package. But I found this:
From a sandbox problem with the Arduino IDE discussed on askubuntu, here the corresponding github issue The workaround |
I will take a look. |
Unfortunately, I haven't had much time to look into this. Hopefully i can do so this week. Will take a look if they are related. |
The way forward seems to be an AppArmor profile for each electron-based AppImage: Question is, how to get it included with Ubuntu for them to ship it same as they already do for vscode (so that not each and everyone has to hack those exceptions herself)?
|
Indeed, the problem is that AppImage can be placed anywhere by the user. So apparmor file should be updated each time file is moved. Anyway, I confirm that adding the file on ubuntu 24.04, fix the issue. I put all theia versions in /opt/theira/ and created this file in
|
Thank you @hklene & @tuxPM for the workaround. As far as i understand, this is a common issue for all electron apps running in sandbox mode from Ubuntu 24.04 going forward. This is also indicated by AppArmor shipping the same workaround for most of the applications. |
Strangely, when you install the VS Code snap package, the command in
It looks like starting with |
One idea I've had would be to detect the sandbox problem and to output a message asking to the user to run theia with "--no-sandbox" and maybe a link to some documentation that describes the issue. |
Bug Description:
AppImage executable won't launch without disabling sandboxing.
Application works completely find after adding --no-sandbox command line argument
The following error is shown in the terminal:
[184044:0610/211014.832520: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_TheiaI98fe20/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: