How to resolve Google Chrome can not be run as root
怎样以管理员身份运行google chrome
原文地址:http://linuxdrops.com/how-to-resolve-google-chrome-can-not-be-run-as-root-ubuntu-fedora-centos/
Right click on the launch icon and select properties. Append the following to the command in the launcher --user-data-dir
右键点击chrome的桌面图标,根据地址打开文件找到 --user-data-dir
This is what it will look like
内容如下
/opt/google/chrome/google-chrome %U
just change it to be
将它改为
/opt/google/chrome/google-chrome --user-data-dir %U
If you can’t find the launcher then you have to add it to panel or to your desktop. Select Applications-->Internet-->Google Chrome
, right click on it and select Add this launcher to panel or Add this launcher to Desktop. Once you find the launcher icons, follow the steps above to run Chrome as a root user.
如果无法找到入口需要将它添加到桌面或者任务栏。选择Applications-->Internet-->Google Chrome,右键点击并选择添加到任务栏或桌面。找到图标后就可以按照上述步骤进行操作。
Cheers
成功