Balena Etcher is not opening in Ubuntu 24.04. How to run it? I am using the appimage. Other appimages are not working either.
Asked
Active
Viewed 1.4k times
1 Answers
17
Due to recent changes in apparmor, none of the electron apps (except VS Code) work out of the box in Ubuntu 24.04.
Temporary solution: The workaround is to run the following command.
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
It has to be run again after rebooting.
To make it permanent, run the command
echo 'kernel.apparmor_restrict_unprivileged_userns = 0' |
sudo tee /etc/sysctl.d/20-apparmor-donotrestrict.conf
Note: Disabling the apparmor restrictions in 24.04 does not make it more vulnerable than 22.04. Please read this for more details, and use it at your own risk.
Archisman Panigrahi
- 38,814