Google Chrome can not be run as root

I was running some integration tests in a Ubuntu Virtual Machine when I get this error:

Google Chrome can not be run as root. 

Please start Google Chrome as normal user. If you need to run for development, rerun with the --no-sandbox flag.

To resolve this problem I edit the start configuration file.

$ vim $(which google-chrome)

I add the “–no-sandbox” parameter in the “exec” command (starts with two dashes).

Then I save the file and rerun the integration tests.

Deixa unha resposta

O teu enderezo electrónico non se publicará Os campos obrigatorios están marcados con *

Este sitio emprega Akismet para reducir o spam. Aprende como se procesan os datos dos teus comentarios.