Google Chrome Install in Kali Linux

When i am going to enter in google chrome then show " Please start Google chrome as a normal user. If you need to run as root for development, return with the --no-sandbox flag."

Then i command in terminal "/usr/bin/google-chrome-stable %U --no-sandbox --user-data-dir &" this and i entered chrome but then "You are using an unsupported command-line flag: --no-sandbox. Stabilty and security will suffer." this message show me. Again and again i'm suffering it when i enter in chrome. Help me please.

2 Answers

You could try to create a new user and start chrome with this user account:

useradd testuser

Then you switch to that account:

su testuser

And start chrome like you tried before:

/usr/bin/google-chrome-stable
0

This worked for me (Fedora 26 - google-chrome)

On my system /usr/bin/google-chrome-stable is a link to /opt/google/chrome/google-chrome which is the start-up script.

I edited this file commenting out the last line:

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

And replacing it with:

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

I suppose you could quickly test on Kali with:

/usr/bin/google-chrome-stable %U --user-data-dir --test-type --no-sandbox&

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest