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

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1004.0. "Problems with SET DISPLAY" by UNTAD8::BACHNER (Austrian Garfield - I hate Mondays) Thu Jun 22 1989 12:21

I have a problem using SET DISPLAY that I couldn' resolve with information from
this conference.

I have a VS2000 (6 MB - sigh) and a VSII (13 MB) running under VMS V5.1-1 in a 
cluster with several CI nodes and workstations under VMS V5.0-2. Assuming the
to workstations have node names VS2000 and VSII, I do the following:

on the VS2000:

invoke Customize Security in the Session Manager window
add VSII::BACHNER as a valid user
<Apply>/<OK> the change

on the VSII:

$ SET DISPLAY /CREATE /NODE=VS2000
$ SHOW DISPLAY

    Device:    WSA3:
    Node:      VS2000
    Transport: DECNET
    Server:    0
    Screen:    0

$ NOTES
X Toolkit Error: Can't Open display
%DWT-F-DWTABORT, xtoolkit fatal error

What am I doing wrong ?  Running NOTES locally on the VS2000 works just fine.

Some observations:
In a previous note, I found a DECnet object mentioned which looked like a 
DECwindows specific object. However, I can't find one on my machines. I also 
tried to trace logins on the VS2000 using SET AUDIT/ALARM/ENABLE=LOGIN=ALL
but did not see any login attempt.

What else should I look after ?

Any hints appreciated,
Hans.

T.RTitleUserPersonal
Name
DateLines
1004.1VESTA::BAILEYEight or bust.......Thu Jun 22 1989 12:368
WAG..  does the VS2000 know about the node VSII???



Try

(on the VS2000)  MC NCP SHO NODE vsii

1004.2yepUNTAD8::BACHNERAustrian Garfield - I hate MondaysFri Jun 23 1989 05:536
Yes, both nodes know about each other.

Anything else to look for ?

Hans.

1004.3STAR::THOMASBen ThomasFri Jun 23 1989 11:325
    This sounds like something that I saw just recently.  If the order of
    DECnet and DECwindows startup is reversed, then most everything will
    seem to work, but you may get failures like you are seeing.  As I
    recall, you can check to see if the X$X0 object exists.   

1004.4decw$display logicalTOOK::L_OUELLETTEFri Jun 23 1989 12:2712
Try the following:

   define decw$display nodename::0     - where nodename is the node where 
                                         the output is to be displayed.

I find this works for me (using Notes) - I'm not sure why some applications
(seem to) require that this be done (DTM 3.0??). 

I'd love an explanation if anyone has any ideas! 

LarryO

1004.5better error messages from ICONEURON::NICHOLSONA belly as big as an oil spillSun Jun 25 1989 18:039
    You might get a better error message if you ran DECW$EXAMPLES:ICO
    (instead of NOTES) from your remote node.  ICO is an XLIB program
    and tends to give you an error message more descriptive than

X Toolkit Error: Can't Open display
%DWT-F-DWTABORT, xtoolkit fatal error

    But it sounds like you're problem is with DECNET.

1004.6Network object unknownUNTAD8::BACHNERAustrian Garfield - I hate MondaysMon Jun 26 1989 04:4720
Thanks for the pointer to ICO. It really helped me to get one step further.

My info in .0 about not observing a login attempt on the displaying VS2000 was
not correct. I only enabled security alarms for Logins instead of Logfails.
After realizing this, I found that DECwindows attempted to use the DECnet TASK
object - which is disabled for DECnet default access (according to the security
guidelines).

After adding a proxy record, I got a different message:

network object unknown on remote node

Unfortunately ICO did not tell me which object it tried to access. Neither did
I find a reference to the X$XO object mentioned in a previous reply. Can anybody
advise me how to proceed ?  Pointers to the relevant documentation are also
welcome.

Thanks for all the previous and coming help,
Hans.

1004.7R2ME2::HARROWPOSIX what?Mon Jun 26 1989 09:2823
The X$X0 is a DECnet object defined during DECwindows startup.  To see
if it exists do the following:

	RUN SYS$SYSTEM:NCP
	SHOW KNOWN OBJECTS

Since the message you receive is "Network object is unknown" it is 
likely that X$X0 will not be there.  Something during startup probably
isn't happening correctly.  As mentioned earlier, one why this could
happen is that DECwindows is started before DECnet and thus cannot
create that object.  

Try doing an @SYS$MANAGER:DECW$STARTUP RESTART.  Actually, you might
want to do this from a terminal instead of a window so that you can monitor
it's progress and the errors don't get erased when the server shuts down.
This will restart DECwindows (all windows will be deleted so make sure 
nothing important is running).  When this completes and you login, you 
should be able to run your remote application.  If it doesn't work, you
should have received an error message as it tried to create the X$X0
object.  Good Luck.

-Jer

1004.8I bet you it's...NEURON::NICHOLSONA belly as big as an oil spillMon Jun 26 1989 22:4710
    If you have a logical "DECNET" defined, then you can get the problem
    you are seeing.  In DECW$STARTSERVER.COM, the logical
    DECW$SERVER_TRANSPORTS is defined to be the strings DECNET & LOCAL.
    If you have a logical defined using either of those names then the
    server will NOT load that transport (which would account for $X$0
    not being there).
    
    Do a $SHOW LOGICAL DECNET to see if that's the problem.
    

1004.9You've won your betUNTADT::BACHNERAustrian Garfield - I hate MondaysTue Jun 27 1989 03:4615
Indeed, the problem was a system wide logical name DECNET pointing to our 
DECnet default directory. I removed the definition and SET DISPLAY now just 
works fine (except for the fact that defaults are not as described in the
documentation - but that's another story).

This reply is written on the VS2000 displaying windows from Notes running on
the MVII.

Thanks a lot for your help,

Hans.

PS: To the author of .8: when you ever come to Munich, let me know - you'll 
    have a beer for free in the Biergarten :-)

1004.10STAR::ORGOVANVince OrgovanTue Jun 27 1989 08:149
    Yes this is a problem with the V1 DECwindows startup. For both V5.1 
    and V5.2, the logical names "decnet" and "local" are translated to 
    construct the names of the server transport shareable images to be
    loaded. If either is defined system-wide, you get symptoms like the
    ones described above.
    
    This portion of DECwindows startup has been reworked in V2 to remedy
    the problem.