|
Xvfb or X virtual framebuffer is a display server implementing the X11 display server protocol. In contrast to other display servers, Xvfb performs all graphical operations in memory without showing any screen output. From the point of view of the client, it acts exactly like any other X display 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 have a screen or any input device. Only a network layer is necessary. An alternative to Xvfb is (Xdummy ). While Xvfb is a standalone X server which emulates a dumb framebuffer using virtual memory,〔See manpage for Xvfb〕 Xdummy is simply a script which uses an LD_PRELOAD hack to run a stock X server with the "dummy" video driver.〔Xdummy source code〕 ==Usage scenarios== Xvfb is primarily 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. (e.g. Clover html reports) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Xvfb」の詳細全文を読む スポンサード リンク
|