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

[Workaround] Known issue preventing electron based apps from launching in linux #31

Open
grctest opened this issue Jan 25, 2025 · 0 comments

Comments

@grctest
Copy link
Contributor

grctest commented Jan 25, 2025

Describe the bug

On linux there is a reoccurring issue preventing the launch of chromium in electron.

To Reproduce

Try to install and run the deb file in a fresh linux install, see it fail to launch and eventually provide a warning.

Expected behavior

The app launches.

Additional context

Known electron issue: electron/electron#42510

Temp terminal fix which worked for me: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

This fix isn't permanent, updates to linux seem to reset it, so you need to re-apply this fix occasionally on linux.

@grctest grctest changed the title Known issue preventing app launching in fresh linux install [Workaround] Known issue preventing electron based apps from launching in linux Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant