Run Google Chrome as Root in Ubuntu 11.10

Saturday 12 November 2011 | posted in , | 2 comments

Google Chrome does not run in Ubuntu as root, while run Google Chrome as root it will display a error message as shown below.




To run Google Chrome as root in Ubuntu follow the steps given below.

1. Open the file google-chrome in any text editor.

/opt/google/chrome/google-chrome

2. Remove the last line as given below.

exec -a "$0" "$HERE/chrome" "$@"

3. At the same place add the line given below.

exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME

Now save the file and open Google Chrome, it will run asroot.



Enjoy .............!!!!!!!!!!!!!!!!!

Print
2 Responses So far
gravatar
direct booking hotels
on 25 December 2011 at 21:30  

I was suggested this website by means of my cousin. I am no longer certain whether or not this submit is written by way of him as no one else recognise such unique about my difficulty. You are amazing! Thank you!

gravatar
dmmaseoseoseoseo
on 30 December 2011 at 00:59  

Have you considered the fact that this might work another way? I am wondering if anyone else has come across something

Post a Comment