当前位置:   article > 正文

CentOS7.6中root用户启动firefox报错(其他用户模式下可以正常启动)_running firefox as root in a regular user's sessio

running firefox as root in a regular user's session is not supported. ($xdg_

错误提示如下:

[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!

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/308894
推荐阅读
相关标签
  

闽ICP备14008679号