Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!NEXTASY2.EECS.WSU.EDU!dwatola From: dwatola@NEXTASY2.EECS.WSU.EDU (David Watola) Newsgroups: comp.sys.next Subject: /LocalApps and NXPortFromName Message-ID: <9103130342.AA00394@nextasy2.eecs.wsu.edu> Date: 13 Mar 91 08:59:32 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 30 X-Unparsable-Date: Tue, 12 Mar 91 19:42:08 GMT-5632:48 two questions: 1) what is the proper way to use NXPortFromName()? the documentation says that if the specified port is not registered with the workspace manager, then the manager tries to launch the application. this does not seem to be working for me, although the answer to the second question (below) may have something to do with this. i have resorted to other (read kludgy) methods for ensuring that my remote servers get launched when needed. actually, this behavior makes me wonder about the "can't connect with Edit" messages i get from gdb when trying to use 'view' if Edit hasn't been previously launched (or using openfile with it hasn't been launched). one would think that these programs would use NXPortFromName... Edit is most certainly in the manager's search path... (and my problem server was in /LocalApps). 2) does anyone else have a problem with applications in /LocalApps not being found by the workspace manager? i am running a standalone 'station at home. when i am logged in as root, /LocalApps is searched and all of the suffixes corresponding to applications there are recognized. but if i log in under my usual account (which is not "me", but actually "dwatola") it is not searched. this problem does not appear on my account at school (i.e. networked environment). can anybody explain this? better yet, can anybody tell me how to fix this? i kind of suspect that my problem with NXPortFromName() not launching the proper server may be in the fact that it is not looking in /LocalApps... so WTF? thanks, anyone. dwatola@nextasy2.eecs.wsu.edu dwatola@yoda.eecs.wsu.edu