Operating System - OpenVMS
1752631 Members
5406 Online
108788 Solutions
New Discussion юеВ

Re: How to get the CDE via remote connection?

 
Sathyaswarupa
Contributor

How to get the CDE via remote connection?

Hi Masters,

What are the configuration changes that I should make in the server so that we can get the CDE in a remote intel machine with windows 2000 loaded?

Server:
OS - OpenVMS 7.3-2
Machine - Alpha DS 20.
Network - 100mbps LAN.
4 REPLIES 4
Volker Halle
Honored Contributor

Re: How to get the CDE via remote connection?

Hi,

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=/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.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: How to get the CDE via remote connection?

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).

Wim
Wim
Rick Retterer
Respected Contributor

Re: How to get the CDE via remote connection?

If you are running Tcpip for OpenVMS on your system, you can enable the XDMCP component of TCPIP Services and then connect from KEA!X using XDM.

This is the link to the on-line documentation for setting up XDMCP.

http://h71000.www7.hp.com/doc/732final/6526/6526pro_044.html#h1_conf_xdm

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.)

$!********* Start CDE Session *******
$ set verify
$ SPAWN/NOWAIT -
MCR CDE$SYSTEM_DEFAULTS:[BIN]DTHELLO
$ @CDE$SYSTEM_DEFAULTS:[BIN]XSESSION.COM
$ LOGOUT


Cheers,
Rick Retterer
HP Services
Decwindows Support
Atlanta, GA.
- Rick Retterer



Rick Retterer
Respected Contributor

Re: How to get the CDE via remote connection?

Oh my, I almost forgot the most important part...

Don't forget to set your display variable in the script first....

$!******* Start CDE Session **********
$!
$ set display/create -
/node=pc.ip.address-
/trans=tcpip
$!
$ SPAWN/NOWAIT -
MCR CDE$SYSTEM_DEFAULTS:[BIN]DTHELLO
$!
$ @CDE$SYSTEM_DEFAULTS:[BIN]XSESSION.COM
$!
$ LOGOUT

This script should work much better for you.

Cheers,
Rick

- Rick Retterer