[comp.unix.ultrix] Decnet-tcp/ip gateway.

idall@augean.ua.oz.au (Ian Dall) (05/29/91)

We have a zillion Vaxes and one lonely DecStation. The DecStation has
Decnet and the decnet-tcp/ip gateway software (as well, of course as
tcp-ip). We also have some tcp-ip only X terminals.

What we want to be able to do is run DecWindows clients on the VMS
machines and have them use the X server on the X terminals. Is this
possible? We would very much prefer a solution which ran on the
DecStation rather than the VMS machines since we would have to get
rather a lot of licences if we had the VMS solution (unless one VMS
machine could act as a gateway).

It seems to me that this could be done two ways. One would be for the
DecStation to appear as multiple nodes (the extra nodes being pseudo
nodes for the X terminals). The other would be to have the X terminals
appear as extra displays on the Decstation. Of course, being possible,
and being implimented are two different things...


-- 
 Ian Dall           life (n). A sexually transmitted disease which afflicts
                              some people more severely than others.
   ACSnet: idall@augean.oz
 Internet: idall@augean.oz.au

karrer@bernina.ethz.ch (Andreas Karrer) (05/30/91)

idall@augean.ua.oz.au (Ian Dall) writes:

>We have a zillion Vaxes and one lonely DecStation. The DecStation has
>Decnet and the decnet-tcp/ip gateway software (as well, of course as
>tcp-ip). We also have some tcp-ip only X terminals.

>What we want to be able to do is run DecWindows clients on the VMS
>machines and have them use the X server on the X terminals. Is this
>possible?

Yes. On the DecStation, look into /usr/examples/decnet/gatethru.
The gatewayd translates X-protocol-on-TCP-transport to X-protocol-
on-DECnet-transport.

I don't think it's "supported", though.

+-----------
  Andi Karrer, Communication Systems, ETH Zuerich, Switzerland
  karrer@bernina.ethz.ch                 - terible simplifieur

tridge@anu.oz.au (Andrew Tridgell) (05/30/91)

I installed the decnet internet gateway (comes with the decnet stuff in
Ultrix) and have found it works like a charm. It allows our PC's to
appear as extra displays on our decstation (our PC's have a decnet based
X package - PC DecWindows). We can do the same for vaxes or whatnot.
Basically the gateway makes a decnet node appear like aerodec:N where
you can make N any display number you like.

The source and binaries for this gateway is in 
/usr/examples/decnet/gatethru/ on our system (Ultrix 4.0 on a DS3100).
We added these lines to out /etc files

/etc/inetd.conf:
tba4-X11-display0	stream	tcp	nowait	
/usr/examples/decnet/gatethru/gatewayd gatex -dnet tba4 X$X0

/etc/services:
tba4-X11-display0	6002/tcp		# X11 server on tba4::0.0
/usr/examples/decnet/gatethru/gatewayd


Note that tba4:: is the decnet node name of the real machine (my PC -
but could be any decnet machine running X).  The display becomes
aerodec:2 in this example (from the 6002 entry).  Also note that both of
the entries above are ONE line, I added the carriage returns so it could
be read. 

Performance is quite reasonable, considering the net load.  It means I
can display X clients from SUN's, Sequent's etc.  without installing
Decnet on them, which is a great boon.  It can also be setup to work in
the other direction, but I haven't tried (read the manual for
instructions)

Thanks to DEC for a great product!


--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Andrew Tridgell                 CSLab, Research School of Physical Science
tridge@aerodec.anu.edu.au       Australian National University
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

pha21@seq1.keele.ac.uk (Braham Levy) (05/30/91)

From postnews Thu May 30 12:20:22 1991

In article <1991May29.151258.19842@augean.ua.OZ.AU>, idall@augean.ua.oz.au (Ian Dall) writes:
> 
> We have a zillion Vaxes and one lonely DecStation. The DecStation has
> Decnet and the decnet-tcp/ip gateway software (as well, of course as
> tcp-ip). We also have some tcp-ip only X terminals.
> 
> What we want to be able to do is run DecWindows clients on the VMS
> machines and have them use the X server on the X terminals. Is this
> possible? We would very much prefer a solution which ran on the
> DecStation rather than the VMS machines since we would have to get
> rather a lot of licences if we had the VMS solution (unless one VMS
> machine could act as a gateway).
> 

UCX on the VMS machines will solve the problem. This is now part of VMS
or at least sufficient to do what you want is, as from 5.3 i think, hence
no extra cost should be involved. Unfortunately this runs on the VMS
machines but what the ....

> It seems to me that this could be done two ways. One would be for the
> DecStation to appear as multiple nodes (the extra nodes being pseudo
> nodes for the X terminals). The other would be to have the X terminals
> appear as extra displays on the Decstation. Of course, being possible,
> and being implimented are two different things...
> 
>

this should enable your DecStation to act as a server to VMS X clients
and also the same for your X-Terminals. Beware you might need some extra
fonts for the X-Terms or some aliases to get things cooking. 

braham

___
j braham levy					| UDSP Lab, EE Group,
JANET:	brahamlevy@uk.ac.keele			| Physics Department,
USENET:	brahamlevy@keele.ac.uk			| University of Keele , Keele,
UUCP: ...ukc!keele.ac.uk!brahamlevy		| Staffordshire, ST5 5BG, UK.
						| +44-782-621111 ext 3943

ian@sibyl.eleceng.ua.OZ (Ian Dall) (06/01/91)

In article <1991May29.175051.27421@bernina.ethz.ch> karrer@bernina.ethz.ch (Andreas Karrer) writes:
-idall@augean.ua.oz.au (Ian Dall) writes:
->What we want to be able to do is run DecWindows clients on the VMS
->machines and have them use the X server on the X terminals. Is this
->possible?
-
-Yes. On the DecStation, look into /usr/examples/decnet/gatethru.
-The gatewayd translates X-protocol-on-TCP-transport to X-protocol-
-on-DECnet-transport.
-
-I don't think it's "supported", though.

It isn't supported, but it works! Thanks for the pointer.

-- 
Ian Dall          I'm not into isms, but hedonism is the most
                  harmless I can think of. -- Phillip Adams
  ACSnet: ian@sibyl.eleceng.ua.oz
internet: ian@sibyl.eleceng.ua.oz.au