首页 > 系统服务 > 详细

解决ubuntu无法使用root用户启动Google Chrome浏览器

时间:2018-10-12 00:18:10      阅读:255      评论:0      收藏:0      [点我收藏+]

1.找到Chrome的路径

# whereis google-chrome

google-chrome: /usr/bin/google-chrome /usr/share/man/man1/google-chrome.1.gz

2.编辑文件

# gedit /usr/bin/google-chrome

将 exec -a "$0" "$HERE/chrome" "$@"  改为
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir --no-sandbox 

 

解决ubuntu无法使用root用户启动Google Chrome浏览器

原文:https://www.cnblogs.com/yanyh/p/9775787.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!