Open a terminal.
Edit the /usr/bin/google-chrome and add the “–no-sandbox” at the end of the last line (Line No: 42).
vi /usr/bin/google-chrome
FROM:
Line Number: 35
export LD_LIBRARY_PATH export CHROME_VERSION_EXTRA="stable" # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME exec -a "$0" "$HERE/chrome" "$@"
TO:
export LD_LIBRARY_PATH export CHROME_VERSION_EXTRA="stable" # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME exec -a "$0" "$HERE/chrome" "$@" --no-sandbox
That’s all. Now you can start Google Chrome from the menu as root.
本文部分内容借鉴自:How to Run Google Chrome as root on CentOS / Ubuntu / Debian / Fedora