Running Google Chrome as root | Fedora 15 | RHEL 6 | CentOS 6 | Ubuntu 11.04 | Linux

As Google Chrome is available for Linux but because of some purposes they have disabled access of Google Chrome via Root user.
As I am working with a root user and also expecting that lots of users are working as a root and they wants to run google chrome as a root then this post will helps them.
There are some users who does not like to work as a root and they don’t recommend to work as a root, So i will request them to ignore this post.
This howto is tested on Testing Environment, I request you to follow if you are sure what its going to do, If something or anything anwhere goes wrong you’ll be the only responsible for the same. DO IT AT YOUR OWN RISK.
Now First Let’s look at the Error which you are getting when you try to run Google Chrome as a root. If you are getting error exact like below screenshot then follow this post it will helps you to enable Google Chrome as a root.
Google Chrome Error through root user
Google Chrome Error while running as a root user

Please perform following steps to Run Google Chrome as root.
0) Of Course, Google Chrome Must be installed.
1) You need to be root to perform this steps.
2) We require following package must be installed.
Fedora / Red Hat Users execute this command as root :- [root@tejas-barot-linux-ahmedabad ~]# yum -y install alacarte
Ubuntu Users execute this command as root :- [root@tejas-barot-linux-ahmedabad ~]# apt-get install alacarte
3) Once above package is installed Execute Following command as a root on your terminal
[root@tejas-barot-linux-ahmedabad ~]# alacarte
Once alacarte Window is opened Click on Applications and from Right Panel SelectGoogle Chrome. Look at Below Screenshot.
Google Chrome as a root
Running Google Chrome as a root – Screenshot 1
4) On Google Chrome Menu click on Properties, You will able to see exact details like following screenshot.
Google Chrome Menu Properties
Google Chrome Menu Properties
5) 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.
Enable Google Chrome as a root
Enable Google Chrome as a root

====> UPDATED : If This GUI Steps doesn’t work than do following Steps it will work. Thanks manish for your comment.
# vi /opt/google/chrome/google-chrome
and Find line exec -a “$0″ “$HERE/chrome” “$@” and change it to following
exec -a “$0″ “$HERE/chrome” “$@” –user-data-dir ( Two Hyphens at start of options )
Save and Close File
6) Now Close all windows, Don’t click on Revert.
7) Now Click on Applications -> Internet -> Google Chrome
8) That’s it. It will open Google Chrome as root.
9) If you want to run Google Chrome as root from Terminal then execute following command on Terminal.
google-chrome –user-data-dir
Hope guys this helps you. Waiting for your comments and Feedback.
Share on Google Plus

About Mr Arora

Tips Daddy, your adviser of blogger, windows, mobile, internet, fashion, movies, games, computer, insurance, server, Linux Tips, Hacks, Tutorials, And Ideas.
    Blogger Comment
    Facebook Comment

4 comments:

  1. 123.hp.com/setup 4520
    HP printers are one of the best in the industry. sometimes users may face complexities while installing the HP software. so without any stress, they should visit 123.hp.com/setup . Here they can find the HP printer software files very easily. in case, the users want any technical help, then contact HP support. experts will guide and resolve the issue within seconds.

    ReplyDelete
    Replies
    1. Running Google Chrome As Root >>>>> Download Now

      >>>>> Download Full

      Running Google Chrome As Root >>>>> Download LINK

      >>>>> Download Now

      Running Google Chrome As Root >>>>> Download Full

      >>>>> Download LINK ru

      Delete
  2. EPSON PRINTER
    Epson printers are doing good and gaining popularity because of all that they are doing. The printer also supports various paper sizes. The EPSON Multi-function Inkjet Printer, supports wireless printing that makes your life easier.

    ReplyDelete
  3. Running Google Chrome As Root >>>>> Download Now

    >>>>> Download Full

    Running Google Chrome As Root >>>>> Download LINK

    >>>>> Download Now

    Running Google Chrome As Root >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete