[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference tincup::tima

Title:Worldwide TIMA Operations
Notice:See topics 2 & 3 for contact information
Moderator:TIMA4::GILBERT
Created:Mon May 03 1993
Last Modified:Fri May 09 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:450
Total number of notes:2208

444.0. "DECwindows/Motif Workaround" by CAIMAN::COULOUVRAT (Bruno, E-mail: [email protected]) Wed Mar 12 1997 02:47

    DECwindows/Motif Workaround:
    ===========================
    
    The related problem for running TIMA  is happening on node having the
    SEPS97 environment , the workaround is listed in the notes files
    conference (400.3).
    
    
    After investigation and tests , the following solution seems to be the
    best one to be implemented:
    
    All TIMA users , need to include this one in their login.com , 
    as well , TIMA administrators need to include it in the logon.com 
    file of the TIMA guest account, in this case the logical is define at
    the process level instead of system.
    
    ------------------------------------------------------------------------
    
    $ if trnlnm("CVMS$ENV_FACILITY") .eqs. "SEPS97" then -
        define decw$terminalshr sys$share:decw$terminalshr12.exe
    
    ------------------------------------------------------------------------
    
    Bruno Coulouvrat / Jean Francois Carpentier
    Sie/Kis
    
T.RTitleUserPersonal
Name
DateLines
444.1Does this work ??HLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandThu Mar 13 1997 01:3411
    Are you sure that this should work ?
    
    I thought shared images can only be redirected at system /exec level,
    so the system mgr should setup this for the whole system - and thus
    interfere with other applications.
    
    The only way to make TIMA in MOTIF work again is to set in the startup:
    
    define/system/exec  decw$terminalshr sys$share:decw$terminalshr12.exe
    
    Eric
444.2ULYSSE::CARPENTIERFri Mar 14 1997 07:5714
    Re .-1
    
    Eric,
    
    It works .
    
    I've tested in setting an account without privs but with
    TIMA_MAN,STARS_ALLPRIV,STARS_SETPRIV identifiers.
    
    Could you give more precisions about the defined users' accounts 
    which invoke TIMA.
    
    Jean-Francois  
    
444.3Works for EXEC mode logicals in default tablesHLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandMon Mar 24 1997 04:4512
    The redirection works for /exec mode logicals in the proces,job, group
    or system logicalname table.
    A non priv user can not define /exec mode logicals.
    
    Setup a new logicalname table for TIMA users only does not make sense,
    the logicals are not translated (looks like TRNLOG is used rather than
    TRNLNM).
    
    The only workaround for this problem is to setup decw$terminalshr in a
    group or the system logical name table.
    
    Eric
444.4it works with TCP/IP without any extraULYSSE::CARPENTIERTue Mar 25 1997 08:36149
    The following is the log file of the test made today .
    
    As you could notice, the test succeeded with these parameters.
    
    The test was made from a new system , with only TIMA running on it
    and as you can see from a user without privileges, using the TCPIP
    transport.
     
    It works , as well, with DECNET transport.
    
    If you have any questions, don't hesitate.   
    
    
    Jean-Francois
    
    
                  PROPERTY OF DIGITAL EQUIPMENT CORPORATION
                              INTERNAL USE ONLY
              UNAUTHORISED ACCESS TO THIS NETWORK IS PROHIBITED

Username: CARPENTIER
Password: 

                 OpenVMS VAX V6.2

            Digital SEPS Development Platform

    Last interactive login on Tuesday, 25-MAR-1997 15:48
    Last non-interactive login on Tuesday, 25-MAR-1997 15:49
$  SHO DISPLAY
%DECW-W-OPENIN, error opening DECW$DISPLAY as input
-SYSTEM-W-NOSUCHDEV, no such device available
$  SET DISPLAY/CREATE/NODE=16.36.2.129/TRANSPORT=TCPIP
$
$ sh proc/all

25-MAR-1997 16:04:21.01   User: CARPENTIER       Process ID:   20200422
                          Node: ACOUPA           Process name: "CARPENTIER"

Terminal:           RTA1:  (52810::SYSTEM)
User Identifier:    [CARPENTIER]
Base priority:      4
Default file spec:  USER_ROOT:[CARPENTIER]

Devices allocated:  ACOUPA$RTA1:

Process Quotas:
 Account name:         
 CPU limit:                      Infinite  Direct I/O limit:       100
 Buffered I/O byte count quota:     39872  Buffered I/O limit:     100
 Timer queue entry quota:              40  Open file quota:        300
 Paging file quota:                 31245  Subprocess quota:         8
 Default page fault cluster:           64  AST quota:              198
 Enqueue quota:                       300  Shared file limit:        0
 Max detached processes:                0  Max active jobs:          0

Accounting information:
 Buffered I/O count:        92  Peak working set size:        516
 Direct I/O count:           2  Peak virtual size:           4419
 Page faults:              672  Mounted volumes:                0
 Images activated:           2
 Elapsed CPU time:          0 00:00:00.43
 Connect time:              0 00:00:24.08
 
Authorized privileges:
 NETMBX    TMPMBX
 
Process privileges:
 NETMBX               may create network device
 TMPMBX               may create temporary mailbox
 
Process rights:
 INTERACTIVE                       
 REMOTE                            
 TIMA_MAN                          
 STARS_ALLPRIV                     
 STARS_SETPRIV                     
 
System rights:
 SYS$NODE_ACOUPA                   
 
Auto-unshelve: on
 
Image Dump: off
Process Dynamic Memory Area  
    Current Size (bytes)         51200    Current Total Size (pages)     100
    Free Space (bytes)           47808    Space in Use (bytes)          3392
    Size of Largest Block        47696    Size of Smallest Block           8
    Number of Free Blocks            4    Free Blocks LEQU 64 Bytes        3

There is 1 process in this job: 

  CARPENTIER (*)
$
$  SET DISPLAY/CREATE/NODE=16.36.2.129/TRANSPORT=TCPIP
$  SHO DISPLAY

    Device:    WSA34:  [super]
    Node:      16.36.2.129
    Transport: TCPIP
    Server:    0
    Screen:    0

$ SHO LOG DECW$TERMINALSHR
%SHOW-S-NOTRAN, no translation for logical name DECW$TERMINALSHR
$  SHO LOG CVMS$ENV_FACILITY
   "CVMS$ENV_FACILITY" = "SEPS97" (LNM$SYSTEM_TABLE)
$  DEFINE DECW$TERMINALSHR SYS$SHARE:DECW$TERMINALSHR12.EXE
$  SHO LOG DECW$TERMINALSHR
   "DECW$TERMINALSHR" = "SYS$SHARE:DECW$TERMINALSHR12.EXE" (LNM$PROCESS_TABLE)
$ 
$ 
$ TIMA
                                      
           TIMA V2.4-1  Technical Information Management Architecture
                                      
              Copyright (c) Digital Equipment Corporation, 1993
              All Rights Reserved.  Unpublished rights reserved
                under the copyright laws of the United States.


             The software contained on this media is proprietary
                to and embodies the confidential technology of
               Digital Equipment Corporation.  Possession, use,
               duplication or dissemination of the software and
             media is authorized only pursuant to a valid written
                 license from Digital Equipment Corporation.

               RESTRICTED RIGHTS LEGEND   Use, duplication, or
               disclosure by the U.S. Government is subject to
             restrictions as set forth in Subparagraph (c)(1)(ii)
                of DFARS 252.227-7013, or in FAR 52.227-19, as
                                 applicable.

Badge number : 113694
 
Password 

                             ...Working

                             ...Working
TIMA> EXIT

!!!!!!!!!THE display works fine in the windows!!!!!!The display terminal is a
	 PC using eXcursion

$ LOG
  CARPENTIER   logged out at 25-MAR-1997 16:01:39.21
444.5Does it fail on decw$terminalshr ?HLFS00::ERIC_SEric Sonneveld MCS - B.O. IS HollandTue Mar 25 1997 23:506
>    Jean-Francois

Question: does it fail also when you do not define the decw$terminalshr
logical? Could you do a sh log /fu decw$terminalshr ?

Eric
444.6successful workaroundULYSSE::CARPENTIERThu Apr 17 1997 04:2024
    Here is a workaround concerning that specific problem.
    
    This workaround has been tested on a PC (running Windows-NT, eXcursion)
    with an OpenVMS system and SEPS97 development environment on the VBO site.
    
    	The solution requires to have all the TIMA users registered in the
    SYSUAF with the SAME UIC group number.
    
    When it is done , insert the following lines in the TIMA startup :
    
    Considering a TIMA user with the following uic : [101,0]
    
    $ tima_uic_group = 101 
    $ run sys$system:loginout.exe /noauthorize/ uic=['tima_uic_group',0] -
    	/out=nl: /input=nl:
    $ wait 00:00:10
    $ define/table=lnm$group_000'tima_uic_group' /exec decw$terminalshr -
    	sys$share:decw$terminalshr12.exe
     
    Now check on a TIMA user account, with a 
    $ show log/full decw$terminal*
    
    Jean-Francois