2010-04-17 32 views
17

有谁能告诉我如何让Xvfb工作在32位颜色上? Vnc4server工作正常,但不符合我的目的。如何让Xvfb工作在32位颜色

> /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 

回答

35

32是没有有效的深度,看到this bug report

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