Xvfb失败启动错误 [英] Xvfb failed start error

查看:475
本文介绍了Xvfb失败启动错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Ubuntu 11.04 我正在尝试安装Xvfb和CutyCapt以便拍摄网页快照 我遵循了 https://github.com/jaequery/cutycapt-installer-脚本在ubuntu/blob/master/install 我执行了最后一行,这给了我一个错误

I have Ubuntu 11.04 I am trying to install Xvfb and CutyCapt in order to take a snapshot of webpage I followed a instruction https://github.com/jaequery/cutycapt-installer-script-on-ubuntu/blob/master/install and I executed last line and it gives me an error

xvfb运行:错误:Xvfb无法启动

xvfb-run: error:Xvfb failed to start

有什么解决办法吗? 预先谢谢你

Any solution for that? Thank you in advance

推荐答案

我在Ubuntu 14.04上收到此错误"xvfb-run:错误:Xvfb无法启动",以前我的脚本在Ubuntu 12.04上运行没有问题.

I was getting this error "xvfb-run: error: Xvfb failed to start" on Ubuntu 14.04, where previously my script had run without problems on Ubuntu 12.04.

我的脚本正在运行,多次调用xvfb-run,但是由于出现错误服务器已为显示99启用"而看到失败

My scripts were running calling xvfb-run multiple times, but I was seeing fails due to the error "Server is already active for display 99"

当xvfb-run命令返回时,似乎Xvfb并没有结束.

It seemed that the Xvfb wasn't ending when the xvfb-run command returned.

我的解决方案是使用"xvfb-run -a [mycommand]",因此如果正在使用99,则xvfb将使用另一个显示.

My solution was to use "xvfb-run -a [mycommand]" so xvfb uses another display if 99 is in use.

这篇关于Xvfb失败启动错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆