232 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
13.9.2 X Window System Server on workstation
If for some reason VNC is not acceptable, it is possible to use a standard X Window System
server on a workstation. Because Linux users usually know the X Window System, an X
Window System server running on Windows is described in this section.
There are many commercial and free X Window System servers available for Windows. In the
following examples, XliveCD is used, which provides a free X Window System server based
on Cygwin. It can be run directly from a CD without requiring installation. You can find the
installation files at the following address:
http://xlivecd.indiana.edu/
Any X Window System application will send its output to an address defined with the -display
parameter or, if the address is not provided, to an address specified in the DISPLAY
environment variable. If neither is provided, the local computer is used for output.
Run the following command:
gpok224:~ # xclock
Error: Can't open display:
There is no display specified for the xclock command and it will terminate.
A display is specified by setting DISPLAY environment variable:
gpok224:~ # export DISPLAY=9.145.177.158:0
gpok224:~ # xclock
No protocol specified
Error: Can't open display: 9.145.177.158:0
Kommentare zu diesen Handbüchern