Results 1 to 14 of 14

Thread: Google chrome not starting as root in kali 2.0

  1. #1

    Lightbulb Google chrome not starting as root in kali 2.0

    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

  2. #2
    Join Date
    2015-Aug
    Posts
    4
    adding --user-data-dir

    and open terminal : /usr/bin/google-chrome-stable %U --no-sandbox

    work for me

    I have Question :
    Running chrome with root is safe ??

  3. #3
    Quote Originally Posted by Dab0y View Post
    adding --user-data-dir

    and open terminal : /usr/bin/google-chrome-stable %U --no-sandbox

    work for me

    I have Question :
    Running chrome with root is safe ??

    Where to add --user-data-dir line??

  4. #4
    When i rode the tittle of this topic i thought that you are insane
    Running chrome with root is safe ??
    Last edited by sickn3ss; 2015-09-05 at 07:48. Reason: Removed curse words.

  5. #5
    Join Date
    2015-Aug
    Posts
    4
    Quote Originally Posted by itzzmeshashi View Post
    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

  6. #6
    Join Date
    2015-Aug
    Posts
    4
    Quote Originally Posted by kcdtv View Post
    When i rode the tittle of this topic i thought that you are insane

    **** NO! (sorry for my english)


    sound like ride Tank with full ammo but that Tank made from milk cans bro
    Last edited by g0tmi1k; 2018-02-09 at 15:01.

  7. #7
    Join Date
    2015-Sep
    Posts
    2
    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


    Name: Google Chrome
    Command: /usr/bin/google-chrome-stable %U --no-sandbox

    Va la! here is google-chrome shortcut in Desktop

  8. #8
    Join Date
    2015-Dec
    Posts
    1
    Screenshot from 2015-12-28 00:16:26.jpg

    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?

  9. #9
    Try opening up the chrome binary in a hex editor and replace the string "geteuid" with "getppid" then then run it as normal.

  10. #10
    Worked perfect, thank you

  11. #11
    Join Date
    2014-Jul
    Posts
    1
    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

  12. #12
    Join Date
    2015-Apr
    Posts
    29
    Quote Originally Posted by natedaswas View Post
    Screenshot from 2015-12-28 00:16:26.jpg

    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

  13. #13
    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.

  14. Last edited by nu11secur1ty; 2017-11-07 at 21:07.

Similar Threads

  1. google chrome can't be workable on kali
    By when123 in forum General Archive
    Replies: 4
    Last Post: 2015-06-11, 09:28

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •