如何使Xvfb工作在32位颜色

时间:2010-04-17 21:55:17

标签: linux colors bit

有人能告诉我如何让Xvfb处理32位色彩吗?例如,Vnc4server工作正常,但不符合我的目的。

> /etc/X11# Xvfb :1 -screen 0 1600x1200x24
error opening security policy file /etc/X11/xserver/SecurityPolicy
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
[config/hal] couldn't initialise context: (null) ((null))
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.

Aka - 它有效,而且:

> /etc/X11# Xvfb :1 -screen 0 1600x1200x32
Fatal server error:
Couldn't add screen 0

1 个答案:

答案 0 :(得分:40)

32无效深度,请参阅this bug report

请改为:Xvfb :1 -screen 0 1600x1200x24+32