如何使Xvfb工作在32位颜色

Rob*_*bus 19 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.
Run Code Online (Sandbox Code Playgroud)

阿卡 - 它有效,同时:

> /etc/X11# Xvfb :1 -screen 0 1600x1200x32
Fatal server error:
Couldn't add screen 0
Run Code Online (Sandbox Code Playgroud)

小智 42

32没有有效深度,请参阅此错误报告

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