* xterminal and decwindow login
@ 1994-11-11 1:48 Tiong lim
1994-11-14 3:57 ` Malcolm Wade
0 siblings, 1 reply; 2+ messages in thread
From: Tiong lim @ 1994-11-11 1:48 UTC (permalink / raw)
Recently i upgrade our VMS from 5.5-2 to V6.1 . Since the upgrade i cannot get
our Xterminal (NCD running v3.0) get the Decwindow prompt automatically when
the X terminal boots up. From the NCD documentation, the X terminal logs in
through a captive account and starts the Decwindow login prompt by running this
file : -
$! SYS$MANAGER:NCD_NDS_STARTLOGIN.COM NCDware V3.0
$!
$! This is a captive command procedure which should be run as the
$! login command procedure for the account NDS_LOGIN.
$! it merely initiates the DECwindows login dialogue on the
$! host that initiates the login.
$!
$! Note: The account NDS_LOGIN is created by default WITHOUT a password
$! Local Sites may either password protect the NDS_LOGIN account
$! on a machine by machine basis, or augment this procedure
$! to selectively allow actual DECwindow Sessions to be started
$! ONLY by specific nodes. This can be done by explicitly
$! checking the value of SYS$REM_NODE.
$!
$ WRITE SYS$OUTPUT ""
$ WRITE SYS$OUTPUT ""
$ trans = "decnet"
$ node = F$TRNLNM("sys$rem_node")
$ IF node.EQS.""
$ THEN
$ node = F$GETDVI("TT","TT_ACCPORNAM")
$ trans = "tcpip"
$ IF (node-"Host:").NES.node
$ THEN
$ ! Must be UCX telnet
$ node = F$ELEMENT(1," ", node)
$ ELSE
$ IF ((F$GETDVI("TT","TT_PHYDEVNAM")-"_LTA").NES. -
F$GETDVI("TT","TT_PHYDEVNAM"))
$ THEN
$ WRITE SYS$OUTPUT "%NCD-F-NOSUPPORT DECwindows ov
er LAT is not currently supported"
$ EXIT
$ ELSE
$ node = node - "[" - "]"
$ trans = "tcpip"
$ ENDIF
$ ENDIF
$ ENDIF
$ DEFINE DECW$LOGIN_NORESTART TRUE ! process logical...
$ SET DISPLAY/CREATE/PERM/TRANSPORT='trans'/NODE="''node'"
$ MCR DECW$STARTLOGIN ! Fire off the DECwindows Session Manager
$ WRITE SYS$OUTPUT "DECwindow Session Manager Login initiated on ''f$trnln
m("SYS$NODE")'"
$ WRITE SYS$OUTPUT " for ''node' using transport ''trans'"
$ WRITE SYS$OUTPUT ""
$ WAIT 00:00:02 ! Allow user to read the above message
$ STOP/ID=0 ! Logout silently
$
This used to work work under v5.5-2 . When i tried to login using the captive
account it seems to login ok and execute the above file ok , but i don't get any decwindow login prompt at all. If i did a set display/create/node command and
then do a mc decw$startlogin command the decwindow prompt comes on ok. I did
a reply/enable on one of the terminal , i get :-
Message from user AUDIT$SERVER on ESV28
Security alarm (SECURITY) and security audit (SECURITY) on ESV28, system id: 606
44
Auditable event: Detached process login failure
Event time: 11-NOV-1994 14:44:08.08
PID: 274004B2
Username: SYSTEM
Process owner: [SYSTEM]
Image name: ESV25$DKA300:[SYS28.SYSCOMMON.][SYSEXE]LOGINOUT.EXE
Status: %DECW-F-NOMSG, Message number 02DB8204
when the X terminal start to login.
Can anyone tell me why the above command doesn't work in v6.1 ? How can i
get the X terminal to bring the Decwindow prompt up ? Any help appreciated.
Tiong
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: xterminal and decwindow login
1994-11-11 1:48 xterminal and decwindow login Tiong lim
@ 1994-11-14 3:57 ` Malcolm Wade
0 siblings, 0 replies; 2+ messages in thread
From: Malcolm Wade @ 1994-11-14 3:57 UTC (permalink / raw)
In article <39uihq$ck5@net.auckland.ac.nz>, lim@esu6.auckland.ac.nz (Tiong lim) writes:
> Recently i upgrade our VMS from 5.5-2 to V6.1 . Since the upgrade i cannot get
> our Xterminal (NCD running v3.0) get the Decwindow prompt automatically when
> the X terminal boots up. From the NCD documentation, the X terminal logs in
> through a captive account and starts the Decwindow login prompt by running this
> file : -
>
> $! SYS$MANAGER:NCD_NDS_STARTLOGIN.COM NCDware V3.0
> $!
> $! This is a captive command procedure which should be run as the
... etc etc ...
> $ DEFINE DECW$LOGIN_NORESTART TRUE ! process logical...
> $ SET DISPLAY/CREATE/PERM/TRANSPORT='trans'/NODE="''node'"
> $ MCR DECW$STARTLOGIN ! Fire off the DECwindows Session Manager
> $ WRITE SYS$OUTPUT "DECwindow Session Manager Login initiated on ''f$trnln
> m("SYS$NODE")'"
> $ WRITE SYS$OUTPUT " for ''node' using transport ''trans'"
> $ WRITE SYS$OUTPUT ""
> $ WAIT 00:00:02 ! Allow user to read the above message
> $ STOP/ID=0 ! Logout silently
> $
I had the same problem. Turns out that SYS$REM_NODE translates to node-name::
which under V5.5-2 SET DISPLAY/CREATE/NODE=node-name:: likes BUT under V6.1 it
doesn't (probably something to do with phase V node names and the support for
them). I didn't investigate further.
The fix is to add an:
ELSE
NODE = NODE - "::"
prior to the last ENDIF so that when it's a DECnet node the "::" gets removed.
Cheers,
Malcolm
--
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
| Malcolm J. Wade, Malcolm.Wade@decus.org.au (Internet) |
| SYSCOM Chairman, PSI%(0)505227330001::Malcolm.Wade (VAX/PSImail) |
| DECUS Australia Chapter. Tel. +61 2 369 6564 (w) |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-11-14 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-11 1:48 xterminal and decwindow login Tiong lim
1994-11-14 3:57 ` Malcolm Wade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox