CentOS7.6中root用户启动firefox报错(其他用户模式下可以正常启动)

错误提示如下:

[root@localhost ma]# firefox
Failed to open connection to "session" message bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Running without a11y support!
Running Firefox as root in a regular user's session is not supported.  ($XDG_RUNTIME_DIR is /run/user/1000 which is owned by ma.)

报错过程

卸载自带firefox浏览器(同样root下无法启动),然后解压官方软件包到目录/opt/,可以启动正常,重启后继续报上面的错误。

解决方案:

输入   sudo -i                          #用于加载用户变量

附带问题:

启动时提示:Running without a11y support!

但可以正常运行,暂无解决方案。

[root@localhost ~]# firefox
Running without a11y support!

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值