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

成功


Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐