Blog IT : smartphone and computer technology

www.domainesia.com

Jumat, 28 Juli 2017

SOLVED - Google chrome can not be run as root

How to run google chrome as root in linux
when I want to run google chrome as root, an error message with this title appears:

Google chrome can not be run as root




Run from terminal

# google-chrome --no-sandbox --user-data-dir


or

Open the file opt/google/chrome/google-chrome and replace

             exec -a "$0" "$HERE/chrome" "$@"


to

          exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox


EmoticonEmoticon