From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,11daf615db07f3f0,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-11-11 02:35:42 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!pipex!uunet!comp.vuw.ac.nz!waikato!auckland.ac.nz!esu6.auckland.ac.nz!lim From: lim@esu6.auckland.ac.nz (Tiong lim) Newsgroups: comp.sys.dec Subject: xterminal and decwindow login Date: 11 Nov 1994 01:48:42 GMT Organization: University of Auckland Message-ID: <39uihq$ck5@net.auckland.ac.nz> NNTP-Posting-Host: esu6.aukuni.ac.nz Summary: Xterminal cannot get the decwindow display after upgrade Keywords: xterminal X-Newsreader: NN version 6.5.0 #4 (NOV) 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