To verify the installation of the X Window X11R6 System:
- Ensure that a host (the workstation) with an X Window System server
that supports X11R6 is properly configured and reachable by the MVS™ system. From the workstation,
use Telnet to access the MVS system,
and open a z/OS® UNIX shell on the MVS system.
- From the z/OS UNIX shell, export the DISPLAY environment variable
using either the network name or the qualified IP address of the workstation
as shown in the following example:
export DISPLAY=royal.csc.ibm.com:0.0
In
this example, royal.csc.ibm.com is the name
of the workstation running the X Window System server. The display
is indicated by :0.0, and is specified this
way in almost all cases.
- Authorize the MVS system
to access the workstation by executing the XHOST command, and specify
either the name of the MVS system
or a plus sign (+) as shown in the following example.
xhost +
Note: The + option
turns off security for this workstation and allows any X client to
display here.
- The sample X clients are shipped in the directory /usr/lpp/tcpip/X11R6/Xamples/demos.
Change into this directory. There are four sample program directories,
xsamp1, xsamp2, xsamp3, and pexsamp. Change to the xsamp1 directory.
Verify that there are files named Makefile and xsamp1.c, and then
execute the following command:
make
- Execute the program using the following command:
xsamp1
- The z/OS UNIX shell should block as another window is
opened. Verify the workstation is displaying a new window. The xsamp1
client displays a blank window for 60 seconds and then exits, taking
its window with it. The z/OS UNIX shell should no longer be blocked.