How to Install and Run Google Chrome on Kali Linux – Part 2: Run

Completing the series with the Part 2 of How to install and Run Google Chrome on Kali Linux configuration process.

On my last Post “How to install Install and Run Google Chrome on Kali Linux – Part 2: Run”I’ve covered the Installation process of Google Chrome.

On this Post I’ll cover the details about how to Run Google Chrome on Kali Linux, but first there are a few things you should know. Running Google Chrome as “root” is not recommended, by default if you have installed Chrome on Kali you can’t even run it, as you can see below.

sudo google-chrome

kali_google_chrome

[Part 2: Run Google Chrome on Kali]

There are 3 typical ways of running Chrome in Kali:

  • Logged in with a Standard user –> I will not cover this process, it is a no brainer
  • Logged in with “root” and running Chrome as a Standard user
  • Logged in with “root” and running Chrome as “root” –> BE CAREFUL

For security reasons the best way to run Google Chrome in Kali is with a Standard user, but if you are not a lazy guy and you really know what you are doing with your web browser you probably want to run Chrome as “root” not matter if it is secure or not. I will provide you the details of the above last two options.

Option 1 – Logged in as “root” and running Chrome as a Standard user:

To run Chrome and some other applications as a Standard user we will use SUX which is a wrapper around ‘su’ which will transfer your X credentials.

First you need to create a new standard user account if you don’t already have. You can do that in terminal with ‘adduser’ and filling the user information or in Gnome Control Center (I will not go in detail with this last option).

Create a new user in Terminal:

sudo adduser yournewusername

Or you can create a new Standard user in Gnome Control Center:

gnome-control-center –o

Click on User Accounts and then on the Plus (+) button

image image

Fill the User information, make sure that the Account Type is set to “Standard” and click on the ‘Create button’. On the next window click ‘Account disabled’ button.

image image

Define the user password and click the ‘Change’ button to complete the user creation

image

Install the sux package, which is not available on Kali repository, you need to add Debian repository to you sources.list, for that consult How to Install and Run Google Chrome on Kali Linux – Part 1: Install on the initial steps made on the Option 2 of that post.

apt-get install sux

Now you can run Google Chrome as your new Standard user while logged in as ‘root’

sux – yournewstandarduser google-chrome –incognito

You can verify Google-Chrome permissions with the following (don’t close Chrome)

ps aux | grep google-chrome

 

Option 2 – Logged in as “root” and running Chrome as “root”:

To run Chrome as Root do the following:

nano /opt/google/chrome/google-chrome

Go at the bottom until you Find the line:

exec -a “$0? “$HERE/chrome” “$@”

image

Change that line with the following:

exec -a “$0? “$HERE/chrome” “$@” –user-data-dir

image

Press [CONTROL] + [X] keys to save and close the file

Now Open Chrome on Applications -> Internet -> Google Chrome

image 

To open Chrome in Terminal as ‘root’ type the following:

google-chrome –user-data-dir

This complete the series of How to Install and Run Google Chrome on Kali Linux.

 

R-Tape Loading error,
Luís Rato

Anúncios

~ por Luis Rato em 30 de Setembro de 2013.

Deixe uma Resposta

Preencha os seus detalhes abaixo ou clique num ícone para iniciar sessão:

Logótipo da WordPress.com

Está a comentar usando a sua conta WordPress.com Terminar Sessão / Alterar )

Imagem do Twitter

Está a comentar usando a sua conta Twitter Terminar Sessão / Alterar )

Facebook photo

Está a comentar usando a sua conta Facebook Terminar Sessão / Alterar )

Google+ photo

Está a comentar usando a sua conta Google+ Terminar Sessão / Alterar )

Connecting to %s

 
%d bloggers like this: