[comp.windows.x] How do I start DECterm w/o Session Manager?

hansen@scr.slb.COM (Ove Hansen) (05/24/91)

Hello,

I'm trying to start up DECterm in VMS _without_ using the session manager with:

SYSTEM> spawn/nowait/input=nl: run sys$system:decw$terminal

This gives me the following message:

To create DECterms, use the Session Manager or call the
DECwTermPort() routine from another process.

What I want to do with this is to make my users be able to start up DECwindows 
applications from the OpenWindows menu, where a menu entry for for example
the Bookreader is defined as

	"BookReader"  rsh vax @decw_comfiles:bookreader `hostname` >& /dev/nul

and the corresponding file BOOKREADER.COM on the VAX contains

	set display/create/trans=tcpip/node='p1'
	mcr decw$clock

This works fine, but to be able to do it with the DECwindows terminal I guess I 
have to write a tiny program which calls the routine above, DECwTermPort, to
create the terminal. Is this correct - and have anyone of you done this and is
able to tell me how you did it...?

Also: is there a way of starting up the Session Manager remotely? If I try to
do so it dies quietly and leaves me waiting forever...

Thanks in advance,
Ove Hansen

*******************************************************************************
*   Ove Hansen, VAX Systems Manager          e-mail    : hansen@scr.slb.com   *
*   Schlumberger Cambridge Research          Tel (int.): +44-223-325246       *
*   P.O.Box 153, Cambridge CB3 0HG, England  Fax (int.): +44-223-67956        *
*******************************************************************************