Skip to content

How to run and/or install AppImage on Ubuntu #8440

Closed as not planned
Closed as not planned
@d33p-dev

Description

@d33p-dev

My versions:
"electron": "^31.0.2",
"electron-builder": "^24.13.3",
"electron-vite": "^2.3.0",

Node version:
v18.19.1

Target:
Linux x64

ISSUE
When I run the AppImage (Ubuntu 24.04 KDE Plasma 5.27) I get the following error. I gave my user account rwx persmissions to the "appForLinux.AppImage" file.

[30783:0831/200557.279232: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_deskto9XlUHg/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Is this an error with my (limited) understanding of how to run an AppImage on Ubuntu or does this error indicate the packaging is bad/corrupt with Electron Builder?

I'm more of a Windows/Mac developer. Should I install the Snap or .deb version of the test app built I with Electron Builder? I thought it was straightforward to just run any AppImage on Ubuntu. But, maybe I should install the electron app some other way? If so, what would that command look like to install a Linux app built with Electron Builder?

I use "apt install" a lot... But, I'm new to Linux dev so I'm not sure what my other options are to test an Electron app on Linux. I can run the app just fine from VSCode on Ubuntu. And it works but how do I actually install it and run it?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions