Results 1 to 6 of 6

Thread: Unable to run google chrome in a fresh kali installation

  1. #1

    Unable to run google chrome in a fresh kali installation

    Hi all,

    This is my first post to this forum. I have tried to install google chrome in my fresh kali installation and not able to get it run successfully. When I ran it as root, got error to run as normal user. I have created another user and tried again. This time getting error : Gtk: cannot open display : : 0.0
    I Googled a lot and not able to find the exact solution. Hope I will get assistance from here.
    Selection_005.jpg

    Thanks,
    G

  2. #2
    Probably you are running as root and this problem has already been solved.go to /usr/bin there you can find google-chrome.open with your favourite editor and add this to the last line(without any spaces and in the same line)

    --user-data-dir

    save the file and restart chrome!!!

  3. #3
    Join Date
    2015-Apr
    Posts
    1

    Unhappy Adding "--user-data-dir" not working...

    I was running Google Chrome as root user in Kali Linux with adding "--user-data-dir" on 64 bit Kali without any problems untill version google-chrome-stable 42.0.2311.90-1 . Now it stop working: no pop-up window, nothing… Now I’m running Chrome as standard user with “gksu -u chromeuser google-chrome”, but I like much more previous solution. Any help?

  4. #4
    Join Date
    2013-Aug
    Posts
    4
    Same here.

  5. #5
    Join Date
    2013-Apr
    Posts
    5
    open terminal and type:

    adduser -u chrome

    run google chrome use command:
    gksu -u chrome google-chrome

  6. #6
    Join Date
    2013-Aug
    Posts
    4
    root@kali:~# adduser -u chrome
    Value "chrome" invalid for option uid (number expected)
    adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID]

Similar Threads

  1. Google chrome not starting as root in kali 2.0
    By itzzmeshashi in forum TroubleShooting Archive
    Replies: 13
    Last Post: 2017-11-07, 19:11
  2. google chrome can't be workable on kali
    By when123 in forum General Archive
    Replies: 4
    Last Post: 2015-06-11, 09:28

Tags for this Thread

Posting Permissions

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