Ported Tools For Zos XVFB User's Guide PDF
Ported Tools For Zos XVFB User's Guide PDF
SA23-2216-00
z/OS
SA23-2216-00
Note
Before using this information and the product it supports, be sure to read the general information under “Notices” on page
19.
This edition applies to version 1 release 2, modification 0 of IBM Ported Tools for z/OS (5655-M23) and to all
subsequent releases and modifications until otherwise indicated in new editions.
© Copyright IBM Corporation 2010.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
About this document . . . . . . . . . v Signals . . . . . . . . . . . . . . . 4
Who should use this document? . . . . . . . . v Examples . . . . . . . . . . . . . . 4
Where to find more information . . . . . . . . v Authors . . . . . . . . . . . . . . . 4
Softcopy publications . . . . . . . . . . v
IBM Ported Tools for z/OS home page . . . . v Chapter 2. Xvfb messages . . . . . . . 5
In IBM Ported Tools for z/OS V1.2, the Xvfb code is delivered as a separate FMID,
HVFB111 and is available only with the IBM Ported Tools for z/OS 245 FMID
HOS1120. The Xvfb for z/OS code in FMID HVFB111 is the same code that was
available as PTFs UA21819 and UA32671 with IBM Ported Tools for z/OS V1.1.
The Xvfb for z/OS code is delivered as a separate FMID in order to allow IBM to
provide more efficient support.
This document assumes that the readers are familiar with z/OS systems and with
the information for z/OS systems and the accompanying products.
Softcopy publications
Softcopy z/OS publications are available for web-browsing and PDF versions of
the z/OS publications for viewing or printing using Adobe® Acrobat Reader. Visit
the z/OS library at http://www.ibm.com/systems/z/os/zos/bkserv/.
To order IBM Ported Tools for z/OS: Xvfb, go to the IBM® ShopzSeries Web site at
www14.software.ibm.com/webapp/ShopzSeries/ShopzSeries.jsp. Customers can
report problems found with this product through their normal support structure
IBM or any other organizations will only use the personal information that you
supply to contact you about the issues that you submit.
The document contains information previously presented in IBM Ported Tools for
z/OS User's Guide, SA22-7985-06. The OpenSSH section is now in IBM Ported Tools
for z/OS: OpenSSH User's Guide, SA23-2246-00.
Description
Xvfb is an X server that can run on machines with no display hardware and no
physical input devices. It emulates a dumb framebuffer using virtual memory.
The primary use of this server was intended to be server testing. The mfb or cfb
code for any depth can be exercised with this server without the need for real
hardware that supports the desired depths. The X community has found many
other novel uses for Xvfb, including testing clients against unusual depths and
screen configurations, doing batch processing with Xvfb as a background rendering
engine, load testing, as an aid to porting the X server to a new platform, and
providing an unobtrusive way to run applications that don't really need an X
server but insist on having one anyway.
Options
In addition to the normal server options described in the Xserver Options section,
Xvfb accepts the following command line switches:
-screen screennum WxHxD
This option creates screen screennum and sets its width, height, and depth
to W, H, and D respectively. By default, only screen 0 exists and has the
dimensions 1280x1024x8.
-pixdepths list-of-depths
This option specifies a list of pixmap depths that the server should support
in addition to the depths implied by the supported screens. list-of-depths is
a space-separated list of integers that can have values from 1 to 32.
-linebias n
This option specifies how to adjust the pixelization of thin lines. The value
n is a bitmask of octants in which to prefer an axial step when the
Bresenham error term is exactly zero. This option is probably only useful
to server developers to experiment with the range of line pixelization
possible with the cfb and mfb code.
-blackpixel pixel-value, -whitepixel pixel-value
These options specify the black and white pixel values the server should
use.
Xserver options
:displaynumber
The X server runs as the given displaynumber, which by default is 0. If
multiple X servers are to run simultaneously on a host, each must have a
unique display number.
-a number
Sets pointer acceleration (that is, the ratio of how much is reported to how
much the user actually moved the pointer).
-ac Disables host-based access control mechanisms. Enables access by any host,
and permits any host to modify the access control list. Use with extreme
caution. This option exists primarily for running test suites remotely.
-audit level
Sets the audit trail level. The default level is 1, meaning only connection
rejections are reported. Level 2 additionally reports all successful
connections and disconnects. Level 0 turns off the audit trail. Audit lines
are sent as standard error output.
-auth authorization-file
Specifies a file which contains a collection of authorization records used to
authenticate access. See also the xdm and Xsecurity manual pages.
bc Disables certain kinds of error checking, for bug compatibility with
previous releases (such as working work around bugs in R2 and R3 xterms
and toolkits). Deprecated.
-bs Disables backing store support on all screens.
-br Sets the default root window to solid black instead of the standard root
weave pattern.
-c Turns off key-click.
c volume
Sets key-click volume (allowable range: 0-100).
-cc class
Sets the visual class for the root window of color screens. The class
numbers are as specified in the X protocol.
-co filename
Sets name of RGB color database.
-core Causes the server to generate a core dump on fatal errors.
-dpi resolution
Sets the resolution of the screen, in dots per inch. To be used when the
server cannot determine the screen size from the hardware.
-deferglyphs whichfonts
Specifies the types of fonts for which the server should attempt to use
deferred glyph loading. whichfonts can be one of the following:
v All (all fonts)
v None (no fonts)
v 16 (16 bit fonts only)
-f volume
Sets feep (bell) volume (allowable range: 0-100).
-fc cursorFont
Sets the default cursor font.
-fn font
Sets the default font.
-fp fontPath
Sets the search path for fonts. This path is a comma separated list of
directories which the X server searches for font databases.
Signals
The X server attaches special meaning to the following signals:
SIGHUP
This signal causes the server to close all existing connections, free all
resources, and restore all defaults. It is sent by the display manager
whenever the main user's main application (usually an xterm or window
manager) exits to force the server to clean up and prepare for the next
user.
SIGTERM
This signal causes the server to exit cleanly.
SIGUSR1
This signal is used quite differently from either of the above. When the
server starts, it checks to see if it has inherited SIGUSR1 as SIG_IGN
instead of the usual SIG_DFL. In this case, the server sends a SIGUSR1 to
its parent process after it has set up the various connection schemes. Xdm
uses this feature to recognize when connecting to the server is possible.
Examples
1. Xvfb :1 -screen 0 1600x1200x32
The server will listen for connections as server number 1, and screen 0 will be
depth 32 1600x1200.
2. Xvfb :1 -screen 1 1600x1200x16
The server will listen for connections as server number 1, will have the default
screen configuration (one screen, 1280x1024x8), and screen 1 will be depth 16
1600x1200.
3. Xvfb -pixdepths 3 27 -fbdir /usr/tmp
The server will listen for connections as server number 0, will have the default
screen configuration (one screen, 1280x1024x8), will also support pixmap
depths of 3 and 27, and will use memory mapped files in /usr/tmp for the
framebuffer.
4. xwud -in /usr/tmp/Xvfb_screen0
Displays screen 0 of the server started by the preceding example.
Authors
David P. Wiggins, The Open Group, Inc.
XVFB0017 unknown error on line number XVFB0026 access control enabled, only authorized
clients can connect
Explanation: While parsing the xkb configuration file,
the program encountered an unknown error at the Explanation: Informational message. User has
specified line. activated the access control features.
User response: Examine the xkb configuration file for User response: None.
any anomalies or stray characters. Verify that all
options are correct.
XVFB0027 access control disabled, clients can
connect from any host
XVFB0019 XTestEXTENSION_NAME: invalid
Explanation: Informational message. User has
key/button state keystate.
deactivated the access control features.
Explanation: The current key state is not in either a
User response: None.
pressed or released state.
User response: Verify that the keyboard is not faulty,
XVFB0028 unknown address in family list[i].family
as a key should only be able to reside in one of the two
states. Explanation: When looking up the hostname, an
unexpected value was returned.
XVFB0021 Default symbols not implemented yet! User response: Verify that you are attempting to use a
valid hostname, such as localhost.
Explanation: No keycode was specified in the
configuration and there are no default symbols
available. XVFB0029 (no nameserver response within
NAMESERVER_TIMEOUT seconds)
User response: Provide the program with a specific
keycode map in the configuration. Explanation: The nameserver failed to respond within
the set timeout window.
XVFB0022 Default types not implemented yet! User response: Verify that the connection is free of
bandwidth problems or increase the timeout window.
Explanation: No type was specified in the
configuration and there are no default types available.
XVFB0030 ProgramName: bad hostname arg
User response: Provide the program with a specific
type in the configuration. Explanation: A bad hostname has been provided to
the program.
XVFB0023 Default interps not implemented yet! User response: Verify that you are attempting to use a
valid hostname.
Explanation: No interups were specified in the
configuration and there are no default interups
available XVFB0031 ProgramName: malloc bombed in
change_host
User response: Provide the program with a specific
interup in the configuration. Explanation: The given program name has failed
when attempting to call malloc.
XVFB0024 No file User response: Verify that the system has enough
available resources.
Explanation: No file name was given to test
authorization.
User response: Ensure that the complete list of
paramaters has been passed into the program.
XVFB0059 ProgramName: unable to write authority XVFB0065 no help for noexistent command user
file filename entered command
Explanation: The program was unable to write the Explanation: The user has requested help on a non
authority filem existent Xauth command.
User response: Verify that the file in question has the User response: Verify that the desired command was
correct permission settings and there is sufficient disk typed correctly and is a valid Xauth command.
space available.
XVFB0066 Commands:
XVFB0060 ProgramName: unable to link authority
Explanation: Header message for the help ?
file xauth_filename, use temp_name
command.
Explanation: When trying to establish links between
User response: None.
the temporary file and the new authority file, the
program encountered an error.
XVFB0067 unable to read any entries from file
User response: None.
filename
Explanation: No lines were read while trying to read
XVFB0061 unknown command user entered command
from the authorization file.
Explanation: The user has tried to enter an unknown
User response: The xauthorization file appears to have
command from the command line.
no data in it. Verify that there is in fact information
User response: Verify that the command given was within the file. If there is indeed data within, verify
typed correctly as well as a valid command. permissions on the file are correct.
XVFB0062 unable to open extraction file filename XVFB0068 digit entries read in: digit new, digit
replacement(s)
Explanation: Xauth was unable to open the file for
reading. Explanation: If merging entries with the verbose
option turned on, this message will print.
User response: The user has requested an extract
option from Xauth. While attempting to open the given User response: None.
filename for reading, the program encountered an error.
Verify that the file in question has the correct
XVFB0069 No matches found, authority file filename
permissions.
not written
Explanation: When executing the xauth option
XVFB0063 internal error with help
'extract', no matches for the given display could be
Explanation: Xauth encountered an error while trying found.
to process a help command.
User response: Verify that the display argument given
User response: The user has requested help for a to the xauth 'extract' command is a valid display.
given command. If a command was given at the
command line, the entered command will be displayed
after this message. If no command was given, this
message will be the only indication of the error. Verify
Explanation: The program was unable to malloc Explanation: If changes were made to the
enough space for the authorization list. xauthorization file, the status will show Yes, otherwise,
No.
User response: Verify that there are sufficient system
resources available. User response: None.
Explanation: When attempting to merge a new record Explanation: Displays the current input filename and
into the existing records, an error occurred. the line within the file.
Explanation: If the verbose option is enabled, this Explanation: The xauth command 'source' has found a
message will show how many entries were removed line within the specified file to be too long.
User response: None. User response: A command found within the file
passed to the source command is to long for the buffer.
Either reduce the length of the command within the file
(suggested) or increase the size of the buffer.
Explanation: While trying to attach the allocated Explanation: The program could not open the given
shared memory to the process, an error occurred. An path to the RGB DB.
error code is given. User response: Verify that the program is trying to
User response: None. access the correct file.
XVFB0103 screen number shmid number XVFB0112 Value for "name" out of range: path:line
number
Explanation: Informational message of screen number
and shmid ID. Explanation: The given value for a color found in the
RGB config file is out of the acceptable range.
User response: None.
User response: Acceptable range is: red >= 0 And red
<= 0xff green >= 0 And green <= 0xff blue >= 0 And
XVFB0104 Internal Error! Attempt to remove a blue <= 0xff
non-existent device
Explanation: The program has attempted to remove a XVFB0113 Fatal server error:
non-existent device.
Explanation: Header that is printed any time a fatal
User response: None. error is encountered.
User response: None.
XVFB0105 FreeFontPath: FPE "length and name"
refcount is actual count, should be
expected count; fixing. XVFB0114 XDM: reason code, declaring session dead
Explanation: The expected and actual counter values Explanation: The session has been declared dead for
were found to be different. The program will the given reason code. This event typically happens
automatically adjust. because of too many timeouts or a failed keepalive
attempt.
User response: None.
XVFB0116 XDMCP fatal error: type length.data XVFB0124 Error loading keymap filename
Explanation: A fatal error of the given type and length Explanation: While attempting to load the keymap
has occurred. The offending data is provided. file, an error occurred.
User response: Examine data section for clues to the User response: None.
cause of the error.
XVFB0125 Extra data (number bytes) after
XVFB0117 XDMCP warning: message SelectEvents
Explanation: An event of warning level severity has Explanation: Additional data was found after the
occurred. SelectEvent action.
User response: None. User response: None.
XVFB0118 Xserver: missing host name in command XVFB0126 BOGUS LENGTH in write keyboard
line desc, expected number, got number
Explanation: The program could not find a host name Explanation: The expected and actual values of the
from the command line. data length in the write keyboard description do not
match.
User response: Verify that the previous command line
entry was typed correctly. User response: None.
XVFB0119 Xserver: unknown host: unknown host XVFB0127 Internal error! Bad length in XkbSetMap
(after check)
Explanation: An unknown host name has been
entered from the command line. Explanation: The length found in XkbSetMap was
determined to be incorrect.
User response: Verify that that command was typed
correctly. User response: None.
XVFB0120 Xserver: host on strange network name XVFB0128 Internal error! Bad length in XkbSetMap
(after set)
Explanation: The program is alerting you to the
possibility of the host being misconfigured. Explanation: The length found in XkbSetMap was
determined to be incorrect.
User response: Verify that all settings are correct for
the host/server relation. User response: None.
XVFB0121 Unknown beep type number XVFB0129 Internal length error on read in
ProcXkbSetCompatMap
Explanation: The given number is of an unknown
beep type. Explanation: The length of a read in
ProcXkbSetCompatmap was incorrect.
User response: None.
User response: None.
XVFB0122 Error parsing config file:
Explanation: While parsing the XKB config file, an
error occurred.
User response: Verify that the contents of the config
XVFB0131 Unknown doodad type number in XVFB0139 Error loading keymap file filename (error
XkbWriteGeomDoodads code in location)
Explanation: The given doodad is unknown. Explanation: The program failed to successfully load
the keymap file.
User response: None.
User response: None.
XVFB0132 Ignored
XVFB0140 reverting to defaults
Explanation: The unknown doodad has been ignored.
Explanation: After a failed keymap file load, the
User response: None.
program will revert to the default values.
User response: None.
XVFB0133 BOGUS LENGTH in XkbSendGeometry,
expected number, got number
XVFB0141 Error opening keymap file filename,
Explanation: The expected and actual values of the
reverting to defaults
data length in XkbSendGeometry do not match.
Explanation: The program failed to successfully load
User response: None.
the keymap file. The default values will be reinstated.
User response: None.
XVFB0134 Internal Error! bad
RemoveResourceClient in
XkbClientGone XVFB0142 Internal Error!! XKB and core keymap
have different range
Explanation: An error occurred while trying to
remove a resource client. Explanation: XKB and the core keymap have been
found with different ranges.
User response: None.
User response: None.
XVFB0135 Attempt to change unknown pointer
default (number) ignored XVFB0143 Couldn't load XKB keymap, falling back
to pre-XKB keymap
Explanation: The program has ignored the request to
change the default pointer type to an unknown type. Explanation: Tried to load an XKB keymap file. This
action failed and the previous settings will be used.
User response: None.
User response: None.
XVFB0136 Atom error: atom not created
XVFB0144 InternalError! Illegal radio group number
Explanation: The specified atom was not created.
Explanation: XKB tried to process an illegal radio
User response: None.
group.
User response: None.
XVFB0137 Allocation error: atom property not
created
XVFB0145 unknown key behavior 0xbehavior type
Explanation: When trying to allocate the given atom,
an error occurred. Explanation: An unknown key behavior type has
occurred. This typically indicates an error with the
User response: None.
keyboard. Typical key behavior includes pressed or not.
User response: Verify that no keys are stuck and the
keyboard is functioning properly.
XVFB0163 no screens found XVFB0172 could not open default cursor font 'font
name'
Explanation: The program was unable to find any
active screens. Explanation: The program could not open the default
cursor font.
User response: None.
User response: Verify that the specified font file exists
and has the correct permissions.
XVFB0164 failed to allocate serverClient
devprivates
XVFB0173 could not create connection block info
Explanation: The program failed to allocate
serverClient devprivates. Explanation: The program failed to create connection
block info.
User response: None.
User response: None.
XVFB0165 failed to create scratch pixmaps
XVFB0174 FakeClientID: server internal ids
Explanation: The program failed to create scratch
exhausted
pixmaps.
Explanation: All possible ID's have been assigned.
User response: None.
User response: Restart the server.
XVFB0166 failed to create screen resources
XVFB0175 client not in use
Explanation: The program failed to create screen
resources. Explanation: When attempting to add a resource, the
target client was found to not be in use.
User response: None.
User response: Ensure that the correct client is trying
to be utilized.
XVFB0167 failed to create scratch GCs
Explanation: The program failed to create scratch
XVFB0176 Freeing resource id=ID which isn't there
GCs.
Explanation: The program attempted to free an ID
User response: None.
which does not exist.
User response: None.
XVFB0168 failed to create default stipple
Explanation: The program failed to create default
XVFB0177 could not create root tile
stipple.
Explanation: The program could not initialize the
User response: None.
required root tile.
User response: None.
XVFB0169 failed to create root window
Explanation: The program failed to create root
XVFB0178 Failed to establish all listening sockets
window.
Explanation: The program failed to establish all the
User response: None.
expected listening sockets.
User response: Verify that the network connection is
XVFB0170 failed to initialize core devices
working properly. Use a tool such as netstat to verify
Explanation: The program failed to start necessary which ports are open and currently listening.
core devices.
User response: None.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give you
any license to these patents. You can send license inquiries, in writing, to:
IBM Director of Licensing
IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
USA
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
Intellectual Property Licensing
Legal and Intellectual Property Law
IBM Japan, Ltd.
1623-14, Shimotsuruma, Yamato-shi
Kanagawa 242-8502 Japan
Trademarks
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered
trademarks or trademarks of Adobe Systems Incorporated in the United States
and/or other countries.
Other company, product, and service names may be trademarks or service marks
of others.
Accessibility features help a user who has a physical disability, such as restricted
mobility or limited vision, to use software products successfully. The major
accessibility features in z/OS enable users to:
v Use assistive technologies such as screen readers and screen magnifier software
v Operate specific or equivalent features using only the keyboard
v Customize display attributes such as color, contrast, and font size
z/OS information
z/OS information is accessible using screen readers with the BookServer or Library
Server versions of z/OS books in the Internet library at:
http://www.ibm.com/systems/z/os/zos/bkserv/
D
disability 21
I
IBM Ported Tools for z/OS
publications
on CD-ROM v
softcopy v
K
keyboard 21
N
Notices 19
P
publications
on CD-ROM v
softcopy v
S
shortcut keys 21
X
Xvfb
command description 1
messages 5
Printed in USA
SA23-2216-00