How to Run Google Chromium Browser in Kali Linux as Root User [Fixed] 2021

2

Fix  Chromium Browser not working in Kali Linux: Are you facing any issue to Run Google Chromium Browser in Kali Linux as Root User? Here is the tutorial to fix the problem while opening the Google Chromium Browser in Kali Linux 2020. If Google Chromium Browser not working in Kali Linux, then this tutorial is for you. We’ve given 3 different methods to solve this issue. You can try any one of the given methods to Run Chromium Browser in Kali Linux as root user.

Why  Chromium Browser Not Working in Kali Linux?

Do you know this? By default chromium won’t launch on Kali Linux, this is due to chromium running as the root user.  Kali Linux won’t start Chromium Browser as Root. You have to start/open Chromium browser as Non-root user. Only a low-privileged user account can open/run chromium browser.

How to Run Google Chromium Browser in Kali Linux as Root User

To run Chromium Browser in Kali Linux, you must run it as another user. But there are some solutions to run Chromium Browser in Kali Linux as root user. Today in this video, we will teach you how to open chromium-browser in Kali Linux as root.

If you have not installed Chromium Browser yet, you can download it now

sudo apt install -y chromium-browser

Using Terminal – Method 1

Note: Check leafpad installed in your system or not

  • Step 1: Open Terminal
  • Step 2: Type cd /etc/chromium.d
  • Step 3: Type leafpad default-flags & Press Enter.
  • Step 4: add the following code at the end of the script
#Run as root Kali
export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –password-store=detect –no-sandbox –user-data-dir”

Editing default-flags file in chromium.d – Method 2

  • Step 1: Go to /etc/chromium.d
  • Step 2: Open default-flags
  • Step 3: add the above-given code at the end of the script
  • Step 4: Save it.

Replacing default-flags – Method 3

  • Step 1: Download “default-flags.Zip” file
  • Step 2: Extract the downloaded file.
  • Step 3: Copy the extracted file to the directory location ” /etc/chromium.d/ ” and replace the existed file.

Download default-flags File

Now you can successfully run chromium without any error.

Watch How to Fix Chromium not working in Kali Linux problem

That all for today folks..! Let us know any other methods to solve this issue through below comment box. If Chromium Browser not opening in Kali Linux, watch above given video. Share and Subscribe our After Linux YouTube channel to get more Linux Tutorials.

2 Comments
  1. assasin_packet says

    Well if u want to run chromium as root and also dont want an error message like “running –no-sandbox……” then remove all the code in ur default-flags file and paste the code given below in your default-flags file :

    # A set of command line flags that we want to set by default.

    # Do not hide any extensions in the about:extensions dialog
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –show-component-extension-options”

    # Enable GPU rasterization.
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –enable-gpu-rasterization”

    # Don’t use the GPU blacklist (bug #802933)
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –ignore-gpu-blacklist”

    # Don’t display any warnings about not being the default browser
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –no-default-browser-check”

    # Disable pinging
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –disable-pings”

    # Disable the builtin media router (bug #833477)
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –media-router=0″

    #Run as root Kali
    export CHROMIUM_FLAGS=”$CHROMIUM_FLAGS –password-store=detect –test-type –no-sandbox –user-data-dir”

    #I have just added “–test-type” in the last line

  2. PyKej says

    THX, method 3 works 😀

Leave A Reply

Your email address will not be published.

%d bloggers like this: