Ubuntu 5minutes per day - Solving the problem of Google Chrome on root mode


At the firs time I run the Google Chrome on my Ubuntu and it cannot be running, I think it causes of an error occured. But actually it not reasonable, Google Chrome it is made to not running on root mode. So to solve the problem just not too complacated.  

1. Install Google Chrome

Download the package for your Ubuntu system, 32 or 64 should be your choice, then install it. 
 
sudo dpkg -i google-chrome-stable_current_i386.deb

2. Adjust the setting for its running in root mode.

Edit the file /opt/google/chrome/google-chrome
find exec -a "$0" "$HERE/chrome" "$@"
change as exec -a "$0" "$HERE/chrome" "$@" --user-data-dir ”/root/.config/google-chrome”



Comments

Popular Posts