From: dongray@GENRAD.COM (Derek Dongray)
Newsgroups: comp.os.vms
Subject: Re: DECterm across DECnet to X Terminal
Date: 4 Jan 93 19:50:11 GMT
Distribution: world
Organization: The Internet

I sent the following reply direct to Dan, but several other people seem to want
something similar (or have missed the point). Note that the VT1200 only runs
LAT or TCPIP and it is possible to have systems reachable by DECnet but not by
either of the above protocols (e.g. via a DECrouter or an X25 link).

BTW in another thread I noted that DECW$DWT_DECNET as supplied with
DECwindows/XUI on a 5.5 system is linked against DECW$TRANSPORT_COMMON with a
minor id of %x00000D, which is the Motif version. Fortunately, simply patching
the EXE-header of DECW$DWT_DECNET to expect a minor id of %x00000C produces a
working version.

Derek.
--------------------------------------------------------------------------------
> I've got an X Terminal (VT1200, only does X with LAT), which I'm using
> DECwindows/Motif on now.
>
> There's another VAX, accessible only over DECnet, that I'd like to get run
> Bookreader from.  I've tried various incarnations of SET DISPLAY,
> CREATE/TERMINAL, and got to the point that I could get a networked login to
> my node (it was trying to execute X$X0.COM).  I messed with X$X0.COM but
> never got a DECterm to actually display on my X Terminal that was logged
> into the remote VAX.
>
> It seems, from trying to get this to work most of today, and from talking to
> some other people, that it isn't possible because I've got an X terminal
> (instead of a workstation, where SET DISPLAY/NODE=xx/TRANSPORT=DECNET would
> work).  I'd appreciate it if someone could tell me to quit wasting my time
> or lead me in the right direction.
>
> -Dan Wing, dwing@uh01.colorado.edu or wing_d@ucolmcc.bitnet (DGW11)
>  Systems Administrator, University Hospital, Denver

I too have a VT1200, although I use mine with both LAT and TCPIP. I have,
however, encountered the same problem and solved it for DECwindows/XUI. I don't
know if it works for Motif.

DEC provide(d?) a program SYS$SYSTEM:DECW$DWT_DECNET.EXE which acts as an
X-redirector for DECnet. Basically, you create a session on a VAX you can get
to via LAT. Check that it has a valid display (SHOW DISPLAY) If you need to,
you can create a display with a command like ...

     $ SET DISPLAY/CREATE/TRANSPORT=LAT/NODE=LAT_08002BABCDEF

where the number is the ethernet address of the VT1200.. Next, create an
authorization file called DECW$USER_DEFAULTS:DECW$DWT_DECNET_AUTHORIZE.DAT
containing transport-node-name triplets (transport is *always* DECNET). E.g.

decnet * dongray
decnet cd3101 *
decnet dusds1 genrad
decnet dusds2 genrad
decnet dusds3 genrad

Then run SYS$SYSTEM:DECW$DWT_DECNET.EXE which will output a message indicating
the 'server' it has created. E.g. I can get to CD4000 via LAT, so I get ...

[Assigned DECnet server number 10 on node CD4000]
[Remote display is server number 0 on node LAT_08002BABCDEF using LAT transport]

The server number is 10 for the first, 11 for the second etc. But you only need
one server for any number of remote sessions on any number of Vaxes (within
reason!).

Finally, you connect to the Vax you can only reach via DECnet and use

     $ SET DISPLAY/CREATE/TRANSPORT=DECNET/NODE=CD4000/SERVER=10

replacing CD4000 and 10 with appropriate values. You now have valid 'display'
on the DECnet-accessible Vax. All the DECwindows/XUI stuff works with this. I
haven't tried Motif yet.

Hope this helps.

--------------------------------------------------------------------------------
Name : Derek Dongray, Systems Manager, GenRad Ltd.
Phone : 061 486 1511 ext 166
InterNet : Dongray@GenRad.com               UKnet : Derek.Dongray@GenRad.co.uk
PSS : 234261600119::Dongray                 CompuServe : 70374,2745
Address : Monmouth House, Monmouth Road, Cheadle Hulme, Cheshire, SK8 7AY, UK.