Run Google Chrom as a root

Download Google Chrome rpm from internet

 [root@www ~]#
 rpm -ivh google-chrome-stable_current_x86_64.rpm
warning: google-chrome-stable_current_x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Preparing…                ########################################### [100%]
1:google-chrome-stable   ########################################### [100%]

chrome1

chrome2

[root@www ~]# yum  install alacarte
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
google-chrome                                                                |  951 B     00:00
google-chrome/primary                                                        | 1.4 kB     00:00
google-chrome                                                                                   3/3
Setting up Install Process
Package alacarte-0.12.4-1.el6.noarch already installed and latest version
Nothing to do

[root@www ~]# alacarte

a pop-up window will open.

Click on Internet and right click on Google Chrome as shown below.

alacarte

Move to Command Text Box of Google Chrome Menu Properties.

Change this line from

/opt/google/chrome/google-chrome %U
to 
/opt/google/chrome/google-chrome –user-data-dir %U. Look at screenshot below.

Then,

[root@www ~]# vim /opt/google/chrome/google-chrome

Find line

exec -a “$0″ “$HERE/chrome” “$@”

and change it to following

exec -a “$0″ “$HERE/chrome” “$@” –user-data-dir $HOME

chrome3

Now open Google Chrome.

chrome4