• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Unable to run google-chrome on CentOS 6.4 as root?

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using CentOS 6,4 on which google-chrome is installed.But when I am running the chrome it is not opening only.
I also changed the Launcher properties by appending line with --user-data-dir for root user
but then also it is not working.
Can anyone help me please its urgent.

Thanks in advance.
 
Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Can you navigate to it with the command line and start it from there? That's the best I can suggest with an urgent need to get it running NOW. I use Ubuntu and several times there have been issues with a new launcher ("shortcut") that eventually get ironed out. Did the chrome come from a centos repository? If you have emergency need for a browser go to the repository and install Firefox.
 
sarita chaudhary
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to navigate to command line and start? Can you explain in detail.
I have the emergency of google chrome browser to be installed
I have new installation of chrome & When I click the icon in the Panel nothing happens (it looks like it tries to open but it wont)
 
Guillermo Ishi
Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. You just need to open a terminal window and type google-chrome , from what I read. It will probably be in your path. If you don't know how to get to the command line then install gnome terminal. Run it and you'll be at a prompt.
 
sarita chaudhary
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried running through terminal.But it did not work.
The command I run through terminal is given below

Output:

[root@localhost ~]# google-chrome
[root@localhost ~]# /opt/google/chrome/google-chrome

But then also google chrome did not open.
Please can anyone will give me exact solution.Whether some plugins are missing?
 
Guillermo Ishi
Ranch Hand
Posts: 789
Python C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would uninstall and reinstall. It's not supposed to be hard so probably something is wrong with the installation. Although I have had trouble with the launchers themselves. But you should be able to still run it with comand line or Nautilus.

Also, you do not need to be root to run it. Being root makes it way too easy to corrupt things. Be just a normal user whenever you can, which is just about all the time except when you're installing something.

Also, also, when you reinstall it do so from some official repository, not say something line a Chrome website. This will eliminate a lot of difficulties in installing software. In Ubuntu it's -> Dash Home -> Software Center, all from the gui.

 
Saloon Keeper
Posts: 28663
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, in view of the fact that browsers are one of the main exploit points these days, it's possible that Chrome has been designed to refuse to run as root. That has definitely been the case for the PostgreSQL DBMS server for many years now.

However, if that's the case, I'd expect Chrome to inform you via a dialog box or other error message.
 
sarita chaudhary
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any other option to run google chrome as root.
I tried through terminal but is not working.I think it is not identifying the command or not getting the the path.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic