无法使用jenkins用户启动firefox浏览器

时间:2015-02-18 08:37:30

标签: 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

Firefox版本:35.0.1 Ubuntu 14.04

2 个答案:

答案 0 :(得分:0)

詹金斯没问题。你最好用Ubuntu用户论坛查看。因为你的DISPLAY尚未设置..设置正确值:" Jenkins IP:显示值"

以下链接可能对您有用。

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

答案 1 :(得分:-1)

linux ubuntu 14.04

命令行

cp / usr home / .Xauthority /root/.Xauthority

usr home是你的主目录名称

这对我有用

更改X窗口系统权限

相关问题