Run Chrome in Ubuntu with root

If you couldn’t launch Chrome in Ubuntu 18.04, please edit file

/opt/google/chrome/google-chrome

and replace the last line from

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

to

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

Now start google chrome again it will work like a charm

Leave a Reply

Your email address will not be published. Required fields are marked *