Skip to content

Add ELECTRON_SANDBOX param to pass --no-sandbox to electronmon #3675

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MaciejMalczyk
Copy link

On Ubuntu >24.04 and derivatives there's known problem with sandboxing electron apps. This is related to apparmor profile. To avoid this "--no-sandbox" is needed to run the dev/builded app. With that change you can do:
ELECTRON_SANDBOX=--no-sandbox npm start
which will start devel on ubuntu.

This of course raise some security problems but personally I don't know any other solution.

electron/electron#18265
electron/electron#41066

ELECTRON_SANDBOX to pass --no-sandbox if needed
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

Successfully merging this pull request may close these issues.

1 participant