Skip to content

Instantly share code, notes, and snippets.

@yingshaoxo
Last active April 20, 2025 08:21
Show Gist options
  • Save yingshaoxo/4b367731bffb2a1efb006d11fac5fd00 to your computer and use it in GitHub Desktop.
Save yingshaoxo/4b367731bffb2a1efb006d11fac5fd00 to your computer and use it in GitHub Desktop.
How to run chrome in Kali System with root access.

Forget about those tutorials, just follow me.

1. download chrome deb file from whatever place

2. install chrome

dpkg -i google-chrome-stable_current_amd64.deb

apt install -f

dpkg -i google-chrome-stable_current_amd64.deb

3. allow root user to run chrome

vim /opt/google/chrome/google-chrome

change the last line to exec -a "$0" "$HERE/chrome" "$@" --no-sandbox --user-data-dir

4. just click chrome icon, then enjoy it.

@cmurphy06
Copy link

That did the trick, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment