23

谁能告诉我如何让 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.

又名 - 它有效,同时:

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

1 回答 1

51

32 是无效深度,请参阅此错误报告

试试这个:Xvfb :1 -screen 0 1600x1200x24+32

于 2011-01-17T08:50:26.967 回答