- Xvfb
In the
X Window System , Xvfb or X virtualframebuffer is anX11 server that performs all graphical operations in memory, not showing any screen output. From the point of view of the client, it acts exactly like any other server, serving requests and sending events and errors as appropriate. However, no output is shown. Thisvirtual server does not require the computer it is running on to even have ascreen or anyinput device . Only a network layer is necessary.Xvfb is mainly used for testing:
# since it shares code with the real X server, it can be used to test the parts of the code that are not related to the specific hardware;
# it can be used to test clients in various conditions that would otherwise require a range of different hardware; for example, it can be used to test whether clients work correctly at depths or screen sizes that are rarely supported by hardware
# background running of clients (thexwd program or a similar program for capturing ascreenshot can be used to actually see the result)
# running programs that require an X server to be active even when they do not use itAs an example, the following sequence of commands runs the virtual framebuffer as display
":1"
, run a program on it, and capture the virtual screen in the fileimage.xwd
:Xvfb :1 & xv -display :1 & xwd -display :1 -root -out image.xwd
The result can be shown by running
xwud -in image.xwd
orxv image.xwd
.See also
*
X11vnc
*XGGI
*Xnest
*Xephyr External links
* [http://wiki.x.org/X11R6.8.2/doc/Xvfb.1.html Xvfb manual page]
Wikimedia Foundation. 2010.