Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here
you need to run a Xserver application (e.g. eXcursion Server) on the remote Windows PC and use a transport protocol understood by both systems (most likely TCPIP).
To test the setup, start eXcursion server on your PC, then login to the OpenVMS Server (e.g. via TELNET) and:
$ set displ/create/node=<ip-address-of-PC>/transp=tcpip $ mc DECW$CLOCK
If the DECwindows clock display shows up on your PC monitor, the X-connection works.
To get the CDE login window on your PC screen, just enter $ MC DECW$STARTLOGIN in your OpenVMS Telnet session, after the above SET DISPLAY command.
It's also possible to create an eXcursion application with the following attributes:
Command: $ MCR CDE$SYSTEM_DEFAULTS:[BIN]DTSESSION
This will need SYS$SYSTEM:PCX$SERVER.COM to be present on your OpenVMS server.
Selecting this eXcursion application will (without the CDE login window) display the CDE desktop on your Windows PC.
We do a rexec from the PC to VMS with the user name wanted on VMS. The rexec is asked to execute a script in DETACHED that in essence does : $ set display/transport=tcpip/node=pc $ @cde$system_common:[bin]xsession
The CDE is started without asking the user name.
The detached is to free the rsh connection.
On the PC we use KEA!X. The username / password is configured within KEA!X but can also be asked on each connection (leave it blank in the config).
However, if you choose not to use XDMCP, and simply want to run a CDE Decwindows Session and have the ability to save your customizations and such, you can use REXEC to call the following command procedure, and it will startup a CDE session:
(Note, you do not need pcx$server.com for this to work.)