View Full Version : Google chrome not starting as root in kali 2.0
itzzmeshashi
2015-08-15, 03:52
Hi guys,the updated google chrome wont start as root in Kali 2.from Kali 1.1 on wards we need to create a new user and should start chrome running as that user.Is there any tweak to run chrome as root??
Previous solution of adding --user-data-dir won't work from Kali 1.1:(
adding --user-data-dir
and open terminal : /usr/bin/google-chrome-stable %U --no-sandbox
work for me:p
I have Question :
Running chrome with root is safe ??:confused:
itzzmeshashi
2015-08-15, 09:04
adding --user-data-dir
and open terminal : /usr/bin/google-chrome-stable %U --no-sandbox
work for me:p
I have Question :
Running chrome with root is safe ??:confused:
Where to add --user-data-dir line??
When i rode the tittle of this topic i thought that you are insane :D
Running chrome with root is safe ??
Hi guys,the updated google chrome wont start as root in Kali 2.from Kali 1.1 on wards we need to create a new user and should start chrome running as that user.Is there any tweak to run chrome as root??
Previous solution of adding --user-data-dir won't work from Kali 1.1:(
my idea... create new user and login as new user... then install chrome
if u need root when running command in terminal just : user@kali:~$ su
When i rode the tittle of this topic i thought that you are insane :D
**** NO! (sorry for my english)
sound like ride Tank with full ammo but that Tank made from milk cans bro :p:o
Open the terminal
enter this command: apt-get install --no-install-recommends gnome-panel
after you installed gnome-panel enter command: gnome-desktop-item-edit ~/.local/share/applications --create-new
you will see this window
http://farm6.staticflickr.com/5491/10847844544_57f8830d95.jpg
Name: Google Chrome
Command: /usr/bin/google-chrome-stable %U --no-sandbox
Va la! here is google-chrome shortcut in Desktop :)
natedaswas
2015-12-28, 07:18
1096
This is what came up after following the directions immediately above this post.
Open the terminal
enter this command: apt-get install --no-install-recommends gnome-panel
after you installed gnome-panel enter command: gnome-desktop-item-edit ~/.local/share/applications --create-new
Any suggestions?
aanarchyy
2015-12-28, 18:00
Try opening up the chrome binary in a hex editor and replace the string "geteuid" with "getppid" then then run it as normal.
DeadGirlRising
2016-03-24, 20:49
Worked perfect, thank you
ncnharry
2016-04-03, 16:33
If you still face problem then first remove google chrome.
then apt-get autoremove
apt-get clean
apt-get -f install
apt-get update
now install google chrome dpkg -i filename.deb
now add user : useradd -u chromeuser
run google chrome with this command: gksu -u chromeuser google-chrome
TheMantis
2016-04-04, 23:01
1096
This is what came up after following the directions immediately above this post.
Any suggestions?
gedit /opt/google/chrome/google-chrome
scroll all the way down at exec -a "$0" "$HERE/chrome" "$@"
than add --user-data-dir
it will look like this exec -a "$0" "$HERE/chrome" "$@" --user-data-dir
then save.
at terminal type: google-chrome --no-sandbox
DeadGirlRising
2016-06-01, 04:07
Any less safe than Firefox? That's the thing I don't get. Firefox and Iceweasel work fine as root and they aren't any more secure than chrome.
nu11secur1ty
2017-11-07, 19:11
Ok everybody, so, run this command into your terminal
curl -s https://raw.githubusercontent.com/nu11secur1ty/OpenSUSE-Architecture_and_Deployment/master/chrome/chrome.sh (https://raw.githubusercontent.com/nu11secur1ty/OpenSUSE-Architecture_and_Deployment/master/chrome/chrome.sh) | bash
link: https://github.com/nu11secur1ty/OpenSUSE-Architecture_and_Deployment
Have fun ;)