linux - 无法使用 jenkins 用户启动 Firefox 浏览器

标签 linux firefox ubuntu jenkins

我无法使用 jenkins 用户启动 Firefox 浏览器。我在从命令行启动 Firefox 时收到以下错误消息。

jenkins@quickrr-desktop:/usr/lib/firefox$ firefox
(process:22172): GLib-CRITICAL **: g_slice_set_config: assertion  'sys_page_size == 0' failed
No protocol specified
No protocol specified
Error: cannot open display: :0

火狐版本:35.0.1 Ubuntu 14.04

最佳答案

Jenkins 没有问题。最好去 Ubuntu 用户论坛检查一下。因为我发现你的显示尚未设置..将其设置为正确的值:“Jenkins IP:显示值”

下面的链接可能对您有用。

https://askubuntu.com/questions/486178/restoring-home-folder-firefox-launcher-problems-cannot-open-display

关于linux - 无法使用 jenkins 用户启动 Firefox 浏览器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28579177/

相关文章:

c - 在 Linux 中的多个独立程序之间共享相同的变量

linux - 控制台上的 SSH 谷歌云权限被拒绝(公钥),并出现 google-cloud-sdk 文件错误

php - 用于在 linux/php 中备份数据库的 cron 作业

html - 需要在 html anchor 上单击两次才能转到 id 或名称

apache - 如何让apache使用python3.6及其模块?

linux - 对两个不同的 ssh 身份验证文件使用相同的密码

javascript - 将脚本添加到 html 页面的 firefox 扩展

internet-explorer - 单击链接 selenium web 驱动程序适用于 ie 不是 firefox

ubuntu - GNU-RADIO - cmake 找不到 MPIR

ruby-on-rails - Rails 4 Ubuntu忽略关注文件夹