Comments (2)
I was able to reproduce this using both root and a regular user account on a Kali VM.
As a workaround, you can call chrome-wrapper
with the --no-sandbox
argument on the command line, or add that value to the OPTS
array in /root/.local/autochrome/chrome
Looking at the Chromium source here, the error occurs when neither the namespace or suid sandboxes are available. (The suid sandbox seems to be mostly deprecated, so the namespace sandbox not working is the issue.)
I think the failing bit might be here, but I'll have to dig a bit more to see if there's a better way to fix this than just disabling the sandbox entirely.
from autochrome.
Looks like running sysctl kernel.unprivileged_userns_clone=1
as root will allow the namespace sandbox to work, though chromium still refuses to run as root unless --no-sandbox
is set.
My tentative plan for a fix is:
- If Autochrome is run as root, warn the user but continue
- In Autochrome, check for
unprivileged_userns_clone = 0
and prompt the user to set it to 1. - In the wrapper, use
--no-sandbox
if the user is root orunprivileged_userns_clone
is 0.
from autochrome.
Related Issues (20)
- google authentication HOT 1
- Google Translate fails with 403 HOT 1
- Extensions are not loaded in current Chromium HOT 1
- Work-around for recent versions of Chromium HOT 2
- Unable to reinstall chromium HOT 3
- Autochrome not loading default plugins
- Background of the white profile
- Feature Request: Windows Support HOT 4
- Traffic to localhost isn't proxied HOT 2
- Warning "You are using an unsupported command-line flag" HOT 1
- No key file found for extension HOT 2
- Custom extensions installed well but not loaded HOT 1
- Error during Installation HOT 4
- Suggestion to add another switch HOT 1
- Add configuration file
- User-Agent value not appended HOT 2
- Extensions force-disabled HOT 1
- Burp Extension Java versions mismatch HOT 5
- Burp Extension with Custom Profiles HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autochrome.