In addition to the normal server options described in the Xserver(1) manual page, Xvfb accepts the following command line switches:
-screen screennum WxHxD[@x,y]
This option creates screen screennum and sets its width, height, and depth to W, H, and D respectively, and optionally the screen origin (for Xinerama purposes) to (x,y). By default, only screen 0 exists and has the dimensions 1280x1024x8. If a screen origin is not specified when using Xinerama, the default is for screen N to be positioned to the right of screen N-1.
-pixdepths list-of-depths
This option specifies a list of pixmap depths that the server should support in addition to the depths implied by the supported screens. list-of-depths is a space-separated list of integers that can have values from 1 to 32.
-fbdir framebuffer-directory
This option specifies the directory in which the memory mapped files containing the framebuffer memory should be created. See FILES. This option only exists on machines that have the mmap and msync system calls.
-shmem
This option specifies that the framebuffer should be put in shared memory. The shared memory ID for each screen will be printed by the server. The shared memory is in xwd format. This option only exists on machines that support the System V shared memory interface.
If neither -shmem nor -fbdir is specified, the framebuffer memory will be allocated with malloc().
-linebias n
This option specifies how to adjust the pixelization of thin lines. The value n is a bitmask of octants in which to prefer an axial step when the Bresenham error term is exactly zero. See the file Xserver/mi/miline.h for more information. This option is probably only useful to server developers to experiment with the range of line pixelization possible with the cfb and mfb code.
-blackpixel pixel-value, -whitepixel pixel-value
These options specify the black and white pixel values the server should use.