I want to run google-chrome in Kali Linux. But I am facing some problem. I have installed google chrome by following the steps mentioned here. It is successfully installed with chrome being displayed on
Application -> Internet -> Google Chrome
To run google chrome I followed Part 3 of the same series. There are three different ways listed on how we can run chrome.
One option is it says to edit the file using leafpad
leafpad /opt/google/chrome/google-chrome find the lines
exec -a "$0" "$HERE/chrome" "$@" and append it with -user-data-dir. But the same file is a bit different in my computer, it looks something like this.
exec -a "$0" "$HERE/chrome" "$PROFILE_DIRECTORY_FLAG" \ "$@"
But even though I tried to add -user-data-dir to the end which now looks like
exec -a "$0" "$HERE/chrome" "$PROFILE_DIRECTORY_FLAG" \ "$@"-user-data-dir.
But it is not working anyway.
Then i tried another option. It says that first we have to create a user using
useradd -m chromeuser and then type
gksu -u chromeuser google-chrome to run chrome. However I am getting the following error after running the last command. It says
/usr/bin/google-chrome: /usr/lib/i386-linux-gnu/libnss3.so: version `NSS_3.14.3' not found (required by /usr/bin/google-chrome)
How can I install chrome successfully?