DBMNG数据库管理与应用

所谓独创的能力,就是经过深思的模仿。
当前位置:首页 > 服务器配置 > win&linux

CentOS7下安装谷歌Chrome浏览器后无法在root账号登录下启动的问题解决


Chrome浏览器下载


#直接通过yum来安装rpm包

yum install -y google-chrome-stable_current_x86_64.rpm


#安装glib2

yum update glib2 -y 


(备注:以下为卸载chrome的命令)

#卸载Google浏览器

yum autoremove -y google-chrome



# cd /usr/bin/

# ./google-chrome -v


[9386:9386:0817/185522.224675:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.


注意有一句:Running as root without --no-sandbox is not supported


所以在以root用户运行chrome时需要修改其参数:

在桌面快捷方式图标上点右键“属性”,弹出的窗体中将

/usr/bin/google-chrome-stable %U修改为/usr/bin/google-chrome-stable --no-sandbox

如下图所示。

360截图20200817190928484.jpg

然后就可以在root用户下运行chrome浏览器了。


本站文章内容,部分来自于互联网,若侵犯了您的权益,请致邮件chuanghui423#sohu.com(请将#换为@)联系,我们会尽快核实后删除。
Copyright © 2006-2023 DBMNG.COM All Rights Reserved. Powered by DEVSOARTECH            豫ICP备11002312号-2

豫公网安备 41010502002439号