Xnest
| Xnest | |
|---|---|
| Basic data
|
|
| category | Display server protocol |
| www.x.org/.../Xnest | |
Xnest is an X11 display server protocol that displays its output in a window on another X display server. The software is on the one hand an X server for other applications and on the other hand an X client of the X server to which it transfers its output.
technology
Xnest is a kind of "extension" of the X Window Virtual Framebuffer (Xvfb). It provides a virtual frame buffer that is mapped to the physical frame buffer that Xnest receives from being a client on an existing X server and the frame buffer used by it. Xnest itself does not have its own hardware or physical input devices. It receives all inputs via the X server with which it communicates.
Functionality and use
If a user has an X session:0 running on the display , he can start such a nested X server by entering into a terminal emulator such as xterm for example Xnest :1. By default, such a nested X server is three-quarters the size of the dimensions of the "paternal" display. So if the user has a screen resolution of 1024 × 768 pixels , Xnest starts by default with a resolution of 800 × 600 pixels. If a different resolution is required, this can be selected with the attachment like -geometry 1024×600(that is width times height).
With Xnest you can very easily start several X sessions at the same time, test programs with different screen resolutions or to debug the X Window System. With XDMCP , Xnest can be used in a similar way to VNC to create a " virtual desktop " to another computer in a window. This is, for example, by the previous example is simply appended a parameter: .
Xnest :1 -query name-des-anderen-computers