Just to add to what John said. Client and server glossary is reversed
in X Window world. Server is where user sits, where monitor, mouse and
keyboard are located. X Window client is on a remote (or local)
machine. So it is common to connect with SSH client to SSH server and
run there X Window client which displays on local X Window server.
All Linux desktops have X Server available so many people don't
recognize this. To have X Window server on Windows machine you either
need to buy it or use free alternative like Cygwin. I often use free
xlivecd based on Cygwin from xlivecd.org. It allows to run X Window
server from CD without any installation and it works nicely.

On Mon, Apr 9, 2012 at 2:47 PM, McKown, John
<[email protected]> wrote:
> z/OS does not have a X Window (singular, not plural, a common mistake) 
> server. The "server" in X is the software which provides access to the 
> display and keyboard. The X client is the application code which talks to the 
> server. z/OS does support X client code. At one time, there was a X Window 
> terminal. That was basically some "smart" hardware which accepted X protocol 
> to drive a graphics display.
>
> I think the answer you are looking for is "Yes, you can run a program which 
> is an X client on z/OS." I do it. I have a Linux desktop. I use SSH to 
> connect to z/OS. And I set ssh to set up a "reverse X tunnel". Doing this 
> causes a z/OS UNIX command prompt to appear on my desktop. It also causes the 
> DISPLAY environment to be set up correctly. Basically it causes the ssh 
> server on z/OS to "listen" on a dynamically assigned port (in my case, and by 
> default, starting with port 6010). The SSH server then causes any connection 
> to this port to be tunnelled back to the desktop over the ssh link.
>
> You can also use telnet, but it is a bit more difficult. You need to set the 
> DISPLAY environment variable to the proper value
> export DISPLAY=ip.address:XportNumber . And you must also set up the X server 
> on your desktop to listen on the XportNumber port. This is normally port 6000.
>
> On my system, I do this automatically in the /etc/profile file.
>
> ===
> SSHD="No"
> set . $(ps -o args -p $PPID)
> case "$3" in
> *telnet*) DISPLAY="$5";;
> *rlogin*) DISPLAY="$8";;
> *sshd*) SSHD="Yes";;
> *)      DISPLAY="None";;
> esac
> if [ "$SSHD" = "No" ]
>   then
>     DISPLAY="$DISPLAY:0"
>     if [ "$DISPLAY" = "None:0" ]
>     then
>        unset DISPLAY
>     else
>        export DISPLAY
>     fi
>   else
>     export DISPLAY
> fi
> export SSHD
> ===
>
> You can also use MS-Windows if you have a X server on it. MS-Windows does not 
> come with an X server. I have successfully use Cygwin's X server.
>
> John McKown
>
> Systems Engineer IV
>
> IT
>
>
>
> Administrative Services Group
>
>
>
> HealthMarkets(r)
>
>
>
> 9151 Boulevard 26 * N. Richland Hills * TX 76010
>
> (817) 255-3225 phone *
>
> [email protected] * www.HealthMarkets.com
>
>
>
> Confidentiality Notice: This e-mail message may contain confidential or 
> proprietary information. If you are not the intended recipient, please 
> contact the sender by reply e-mail and destroy all copies of the original 
> message. HealthMarkets(r) is the brand name for products underwritten and 
> issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake 
> Life Insurance Company(r), Mid-West National Life Insurance Company of 
> TennesseeSM and The MEGA Life and Health Insurance Company.SM
>
>
>
>> -----Original Message-----
>> From: IBM Mainframe Discussion List
>> [mailto:[email protected]] On Behalf Of David Price
>> Sent: Monday, April 09, 2012 12:08 AM
>> To: [email protected]
>> Subject: z/OS X-Windows (was: ASCII (was: Unix path name))
>>
>> Looking at z/OS UNIX System Services "Ported Tools"
>> http://www-03.ibm.com/systems/z/os/zos/features/unix/bpxa1ty1.html
>> there is an X-Windows editor called "nedit" that IBM makes
>> available for z/OS UNIX.
>>
>> Does this imply that X-Windows under z/OS UNIX System
>> Services is usable (perhaps with IBM's Ported Tools)?
>> I guess if I really wanted to know I'd subscribe to the
>> MVS-OE List Server.
>>
>> Turning to the z/OS MVS side for a moment, I see that
>> GDDM/MVS supports X-Windows graphics through the GDDMXD/MVS
>> interface.  So if your 3270 emulator doesn't support drawing
>> graphs etc you could have an X-Window pop up on the side and
>> do it that way.
>>
>> -dap
>> ______________________________________
>> On Sun, Apr 8, 2012 at 1:58 PM, Paul Gilmartin
>> <[email protected]> wrote:
>>
>> > On Sun, 8 Apr 2012 13:39:11 -0700, Sam Siegel wrote:
>> > >
>> > >The IBM XL C/C++ team did a GREAT jobs with ASCII
>> compatibility.  :-)
>> > >
>> > Overall, yes, but, last time I checked, no Curses; no X11.
>> > Sockets?  I don't know.
>> >
>> > -- gil
>>
>> On Sun, 8 Apr 2012 14:00:56 -0700, Sam Siegel wrote:
>> Good to know.  I'm in luck, my app does not need those features.
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
>>
>>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to