Crie um usuário padrão (root é o padrão) e execute-o com ele. Se você quiser outras soluções, por favor use o google. Existem muitos, mas este é o mais simples.
EDIT (como root):
cd /opt/google/chrome
Launching chrome simply will not work because in Kali linux we are the root user, chrome wants us to be another user. So launch it like this First make a directory for the chrome user storage mkdir /root/chrome
Then start it like this:
./chrome --user-data-dir /root/chrome &
The
&
so that we can continue using the shell while chrome is open.Anyhow close chrome and lets setup the shortcuts and alias. By now
/opt/google/chrome
is not on yourPATH
so just typing chrome from anywhere wont launch it. Easy fix set an alias or a symlink.First though lets make a start script for step 8 to always happen
cd /opt/google/chrome touch startchrome.sh chmod +x startchrome.sh vim startchrome.sh
In the script just put this:
/opt/google/chrome --user-data-dir /root/chrome &
Now make the alias - but we wont go that way because we will also need to make that permanent in /root/.bashrc and thats a bigger hassle then the next symlink method:
alias chrome=/opt/google/chrome/startchrome.sh
Or make the symlink:
ln -s /opt/google/chrome/startchrome.sh /usr/local/bin/chrome
Now to make the desktop shortcut, this app comes with Kali linux but double check
apt-get install gnome-panel gnome-desktop-item-edit /root/Desktop/ --create-new
Now Leave the type as Application and set the Name to "Chrome" and the Command type out or browse to
/opt/google/chrome/startchrome.sh
and hit OK