IPB
>  Man Pages > Unix > FreeBSD 6.2 > Section 1 > Xvfb man page

Xvfb man page

Section 1 - FreeBSD 6.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


XVFB(1) 							       XVFB(1)




NAME

       Xvfb - virtual framebuffer X server for X Version 11


SYNOPSIS

       Xvfb [ option ] ...


DESCRIPTION

       Xvfb  is  an X server that can run on machines with no display hardware
       and no physical input devices.  It emulates a  dumb  framebuffer  using
       virtual memory.

       The  primary use of this server was intended to be server testing.  The
       fb code for any depth can be exercised with  this  server  without  the
       need  for real hardware that supports the desired depths.  The X commu-
       nity has found many  other  novel  uses	for  Xvfb,  including  testing
       clients	against  unusual depths and screen configurations, doing batch
       processing with Xvfb as a background rendering engine, load testing, as
       an  aid	to  porting  the  X server to a new platform, and providing an
       unobtrusive way to run applications that don't really need an X	server
       but insist on having one anyway.


BUILDING

       To build Xvfb, put the following in your host.def and remake.

       #define BuildServer YES /* if you aren't already building other servers
       */
       #define XVirtualFramebufferServer YES



OPTIONS

       In addition to the normal server options described  in  the  Xserver(1)
       manual page, Xvfb accepts the following command line switches:

       -screen screennum WxHxD
	   This  option  creates  screen screennum and sets its width, height,
	   and depth to W, H, and D respectively.  By default, only  screen  0
	   exists and has the dimensions 1280x1024x12.

       -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	inter-
	   face.

       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 fb code.

       -blackpixel pixel-value, -whitepixel pixel-value
	   These  options  specify the black and white pixel values the server
	   should use.


FILES

       The following files are created if the -fbdir option is given.

       framebuffer-directory/Xvfb_screen<n>
	   Memory mapped file containing screen n's  framebuffer  memory,  one
	   file  per screen.  The file is in xwd format.  Thus, taking a full-
	   screen snapshot can be done with  a	file  copy  command,  and  the
	   resulting snapshot will even contain the cursor image.


EXAMPLES

       Xvfb :1 -screen 0 1600x1200x32
	       The  server will listen for connections as server number 1, and
	       screen 0 will be depth 32 1600x1200.

       Xvfb :1 -screen 1 1600x1200x16
	       The server will listen for connections as server number 1, will
	       have    the   default   screen	configuration	(one   screen,
	       1280x1024x12), and screen 1 will be depth 16 1600x1200.

       Xvfb -pixdepths 3 27 -fbdir /usr/tmp
	       The server will listen for connections as server number 0, will
	       have    the   default   screen	configuration	(one   screen,
	       1280x1024x12), will also support pixmap depths of 3 and 27, and
	       will use memory mapped files in /usr/tmp for the framebuffer.

       xwud -in /usr/tmp/Xvfb_screen0
	       Displays  screen 0 of the server started by the preceding exam-
	       ple.


SEE ALSO

       X(7), Xserver(1), xwd(1), xwud(1), XWDFile.h


AUTHORS

       David P. Wiggins, The Open Group, Inc.



X Version 11			 Version 6.9.0			       XVFB(1)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 19 20:02:20 BST 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

ssh man page (4012 hits)
(Suse Linux 10.1)

CPAN man page (3936 hits)
(Suse Linux 10.1)

startproc man page (1432 hits)
(Suse Linux 10.1)

svn man page (1150 hits)
(FreeBSD 6.2)

signal man page (1070 hits)
(Suse Linux 10.1)

lwptut man page (1033 hits)
(Suse Linux 10.1)

startpar man page (808 hits)
(Suse Linux 10.1)

netcat man page (797 hits)
(Suse Linux 10.1)

Net::Config man page (740 hits)
(Suse Linux 10.1)

oowriter man page (721 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Prices and Terms and Conditions :: USB Temperature Monitor :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum