Xvfb

Xvfb

In the X Window System, Xvfb or X virtual framebuffer is an X11 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. This virtual server does not require the computer it is running on to even have a screen or any input 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 (the xwd program or a similar program for capturing a screenshot can be used to actually see the result)
# running programs that require an X server to be active even when they do not use it

As 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 file image.xwd:

Xvfb :1 & xv -display :1 & xwd -display :1 -root -out image.xwd

The result can be shown by running xwud -in image.xwd or xv 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.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Xvfb — Normalerweise stellt ein X Server letztlich die Fenster der X Clients auf einem wirklichen Monitor dar. Bei Xvfb ist dieser Monitor nur virtuell, existiert also gar nicht. X window virtual framebuffer (abgekürzt Xvfb) ist ein X Server, der einen… …   Deutsch Wikipedia

  • Xvfb — En el sistema X Window, Xvfb o X virtual framebuffer es un servidor X11 que ejecuta todas las operaciones gráficas en memoria, sin mostrar nada por pantalla. Desde el punto de vista del cliente, Xvfb actúa exactamente como cualquier otro servidor …   Wikipedia Español

  • xvfb — X Virtual Framebuffer server …   Acronyms

  • xvfb — X Virtual Framebuffer server …   Acronyms von A bis Z

  • XVFB — abbr. X Windows Virtual Frame Buffer …   Dictionary of abbreviations

  • XRDP — Entwickler: xrdp team Aktuelle Version: 0.4.1 (18. Juli 2008) Betriebssystem …   Deutsch Wikipedia

  • Aiglx — Würfel Ansicht eines hardwarebeschleunigten AIGLX Servers mit Firefox und Amarok. Basisdaten Entwickler …   Deutsch Wikipedia

  • XFree — XFree86 ist eine freie Open Source Implementierung des X Window Systems, die auf vielen Unix artigen Betriebssystemen, auf Windows NT (innerhalb der Cygwin Umgebung) sowie auf OS/2 läuft. Dazu gehören neben Linux und GNU Hurd die BSD Derivate und …   Deutsch Wikipedia

  • XGL — Würfel Ansicht eines hardwarebeschleunigten Xgl Servers Xgl ist eine Implementierung des X Window Systems, die durch OpenGL hardwarebeschleunigt ist. Das Projekt befand sich zwischen 2006 und 2008 in der Frühphase seiner Entwicklung, wurde aber… …   Deutsch Wikipedia

  • X Free 86 — XFree86 ist eine freie Open Source Implementierung des X Window Systems, die auf vielen Unix artigen Betriebssystemen, auf Windows NT (innerhalb der Cygwin Umgebung) sowie auf OS/2 läuft. Dazu gehören neben Linux und GNU Hurd die BSD Derivate und …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”