The encoding and interpretation of display-name is implementation-dependent. On POSIX-conformant systems, the display-name or DISPLAY environment variable can be a string in the format:
hostname specifies the name of the host machine on which the display is physically attached. Follow the hostname with either a single colon (:) or a double colon (::).
number specifies the number of the display server on that host machine. You may optionally follow this display number with a period (.). A single CPU can have more than one display. Multiple displays are usually numbered starting with zero.
screen-number specifies the screen to be used on that server. Multiple screens can be controlled by a single X server. The screen-number sets an internal variable that can be accessed by using the x:default-screen procedure.
The x:close function closes the connection to the X server for
the display specified and destroys all windows, resource IDs
(Window, Font, Pixmap, Colormap, Cursor, and GContext), or other
resources that the client has created on this display, unless the
close-down mode of the resource has been changed (see
x:set-close-down-mode). Therefore, these windows, resource IDs,
and other resources should not be used again or an error will be
generated. Before exiting, you should call x:close-display or
x:flush explicitly so that any pending errors are reported.
A display consists of one or more Screens. Each screen has a root-window, default-graphics-context, and colormap.
x:open-display
function. Use this screen number in applications which will use only a
single screen.
Returns the root window for the specified screen-number. Use
x:root-window for functions that need a drawable of a particular
screen or for creating top-level windows.
The Visual type describes possible colormap depths and arrangements.
The integer depth specifies the number of bits per pixel. The class argument specifies one of the possible visual classes for a screen:
X:make-visual returns a visual type for the screen specified by
display or window if successful; #f if not.
The depth of a window or pixmap is the number of bits per pixel it has. The depth of a graphics context is the depth of the drawables it can be used in conjunction with graphics output.