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

AppImage problem on newest Ubuntu #11035

Open
farmaazon opened this issue Sep 10, 2024 · 7 comments
Open

AppImage problem on newest Ubuntu #11035

farmaazon opened this issue Sep 10, 2024 · 7 comments
Labels
--bug Type: bug -build-script Category: build script -gui g-electron GUI: electron application specific p-medium Should be completed in the next few sprints

Comments

@farmaazon
Copy link
Contributor

From @hubertp

I upgraded recently to latest Ubunut (24.04) and built IDE today.
Running the AppImage yields:
The SUID sandbox helper binary was found, but is not configured correctly.

This appears to be a common issue but we should work out of the box on any linux system.

It prevents app from starting

@farmaazon farmaazon added p-high Should be completed in the next sprint --bug Type: bug -build-script Category: build script g-electron GUI: electron application specific -gui labels Sep 10, 2024
@farmaazon farmaazon added this to the 2024-09 Release milestone Sep 10, 2024
@farmaazon
Copy link
Contributor Author

Looks like: electron/electron#42510

@hubertp
Copy link
Collaborator

hubertp commented Sep 10, 2024

Official release build also fails for me.

@hubertp
Copy link
Collaborator

hubertp commented Sep 10, 2024

SO suggestion also does not apply as I cannot pass --no-sandbox:

> ./enso-linux-x86_64-2024.4.1-rc3.AppImage --no-sandbox
Registering protocol client.
The single argument '--no-sandbox' does not denote a readable file: Error: ENOENT: no such file or directory, access '--no-sandbox'
Checking if '--no-sandbox' denotes a URL to open.
The single argument '--no-sandbox' does not denote a valid URL: TypeError: Invalid URL
Unknown argument: sandbox

Enso 2024.4.1-rc3 command line interface.Usage: enso [options]

Both single-dash and double-dash prefixes are accepted for all options. For instance, the help message can be displayed by entering either '--help' or '-help'. The '-no-' prefix may be utilized to disable a specific option. For example, to connect to the application from a web-browser, the creation of a window can be suppressed by entering either '-window=false' or '-no-window'.

@hubertp
Copy link
Collaborator

hubertp commented Sep 10, 2024

Suggestion - allow for --no-sanbox to be passed to AppImage and then dropped from Enso parameters. We could even limit this to a specific OS.

@Akirathan
Copy link
Member

I am on Ubuntu 24.04 as well and have not experienced this. I remember though that I have installed some system package (via sudo apt-get install ...) to support any AppImage execution. I don't remember configuration any sandbox stuff.

@hubertp
Copy link
Collaborator

hubertp commented Sep 11, 2024

I am on Ubuntu 24.04 as well and have not experienced this. I remember though that I have installed some system package (via sudo apt-get install ...) to support any AppImage execution. I don't remember configuration any sandbox stuff.

Maybe you are referring to libfuse2. Yes, that's normal and I have it installed.

@hubertp
Copy link
Collaborator

hubertp commented Sep 19, 2024

Note: I added an option to pass --no-sandbox so at least we have a hack to make it start.
Also, this appears to be a problem with every AppImage since that version of Ubuntu. So maybe the workaround is an acceptable solution for now.

@hubertp hubertp added p-medium Should be completed in the next few sprints and removed p-high Should be completed in the next sprint labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug -build-script Category: build script -gui g-electron GUI: electron application specific p-medium Should be completed in the next few sprints
Projects
Status: New
Development

No branches or pull requests

3 participants