Install Chromium in Kali Linux And Fix Can't run as Root

How to Install Chromium in Kali Linux And Fix Can’t run as Root ( Not Opening )

Install Chromium in Kali Linux And Fix Can't run as Root

Chromium an open source project behind google’s chrome, which can be tedious to install on some Linux Distro and even more deficult to open after installation, in which today i will show how to install Chromium on Linux and fix can’t run as root.


W

hen using a fresh installation of Kali Linux, you will notice that the default web browser that shipped with the operating system is FireFox which use up a lot of the the computer resources when the application is active.

So today i will be showing you how to Install Chromium in Kali Linux And Fix Can’t run as Root, chromium is open source web browsers which source code is the parent of google chrome which is a closed source browser


Installing Chromium web browser in Kali Linux.


Note: This Tutorial will be demonstrated on Kali Linux machine, which will work on any Debian based system.

:~# – requires given Linux commands to be executed with root privileges either directly as a root user or by use of sudo command.


You may also like: The top 10 web browser for Linux



  • Sudo or su
  • apt install chromium

How to Run Chromium as root user


  • cd /etc/chromium.d
  • leafpad default-flags
  • 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”

  • Now save the modified file and run chromium application from the menu.

You may also like: Top 10 search engines



Run Chromium as root method 3


  • Download file below
  • Chromium root file run here
  • Extra the downloaded file.
  • Copy the extracted file to the directory location ” /etc/chromium.d/ ” and replace the existed file.
  • Now you can successfully run chromium without any error.

Run Chromium as root method 3


  • Open your terminal
  • type the following command “chromium –no-sandbox

Video Demonstration