如何添加缺少的RANDR扩展名 [英] how to add the missing RANDR extension

查看:274
本文介绍了如何添加缺少的RANDR扩展名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在无头服务器上安装了xvfb服务器,并且在运行 DISPLAY =:99 firefox 我收到缺少RANDR扩展名的异常

I have setup the xvfb server on my headless server and when I m running the DISPLAY=:99 firefox I am getting this exception missing RANDR extension

他们中的许多人说要禁用xorg.conf文件中的某些xinerna,但在我的情况下却没有创建该文件.

Many of them said to disable some xinerna from the xorg.conf file but this file is not getting created in my case.

所以我正在寻找如何添加缺少的RANDR扩展名.

So I am searching for how to add the missing RANDR extension.

推荐答案

首先,Xvfb不会从xorg.conf中读取配置. Xvfb是KDrive X服务器的一种变体,就像该家族的所有成员都可以从命令行中获取其配置一样.

First off, Xvfb doesn't read configuration from xorg.conf. Xvfb is a variant of the KDrive X servers and like all members of that family gets its configuration from the command line.

XRandR和Xinerama确实是互斥的,但是在Xvfb的情况下,首先没有Xinerama.您可以通过至少使用以下命令行选项启动Xvfb来启用XRandR扩展

It is true that XRandR and Xinerama are mutually exclusive, but in the case of Xvfb there's no Xinerama in the first place. You can enable the XRandR extension by starting Xvfb using at least the following command line options

Xvfb +extension RANDR [further options]

这篇关于如何添加缺少的RANDR扩展名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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