I have installed Google Chrome in Ubuntu 10.10. When I try to use in normal user, it is working fine.
Now if I want to use as a root it gives the following error:
Google Chrome does not run as root
Also when I tried the following command in terminal, it opens Google Chrome:
google-chrome --user-data-dir
I need a permanent solution for this. Can anybody give me idea about this?
To do this, launch Chrome and click menu > Settings. Select “Privacy and Security” on the left, and then click “Privacy Sandbox” under Privacy and Security. Disable the “Privacy Sandbox” toggle to opt out of the Privacy Sandbox (also known as FLoC).
Overview of stepsDownload the Chrome Browser package file. Use your preferred editor to create JSON configuration files with your corporate policies. Set up Chrome apps and extensions. Push Chrome Browser and the configuration files to your users' Linux computers using your preferred deployment tool or script.
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
It's working for chrome version 49 in CentOS 6. Chrome will give warning also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With