linux xvfb run,linux - Are there differences between xvfb and xvfb-run? - Stack Overflow

博客讨论了Xvfb和xvfb-run的区别和用途。Xvfb是一个无头X服务器,而xvfb-run是一个方便的脚本,简化了在虚拟服务器环境中运行X客户端的过程,需要xauth程序配合使用。尽管可以直接使用Xvfb,但xvfb-run通过处理额外的参数和选项提供了便利。根据内容,xvfb-run应该作为Xvfb包的一部分在Ubuntu 16.04 LTS中安装。
摘要由CSDN通过智能技术生成

Looking at http://manpages.ubuntu.com/manpages/xenial/man1/xvfb-run.1.html implies that xvfb-run is a wrapper around Xvfb. So, you could certainly use Xvfb without xvfb-run, you just have to pass a lot more arguments / options that xvfb-run would handle for you.

But looking at https://launchpad.net/ubuntu/xenial/+package/xvfb (which is the package the man page lists for 16.04LTS), that package should come with xvfb-run.

This package also contains a convenience script called xvfb-run which

simplifies the automated execution of X clients in a virtual server

environment. This convenience script requires the use of the xauth

program.

So, are you sure that if you do apt-get install xvfb, you don't have xvfb-run installed as well? (You might need to install something to get xauth, but I would have expected that to be handled as a dependency)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值