jw@SICS.SE (Johan Widen) (09/22/90)
To recap: I was unable to start any Andrew applications if my environment variable DISPLAY was set to anything else than unix:0.0. Several people responded and told me that they had no such trouble. Thanks, this told me that the problem probably was due to something strange at our site. The problem turned out to be related to the resolver library. We are running Andrew on Sun's, and SunOS comes with a resolver library and a header file /usr/include/netdb.h. However, we do not run the Sun name deamon but another, which we have the source for. This name deamon comes with its own resolver library. The netdb.h header file for this resolver library is unfortunately not compatible with the one provided by Sun. I knew this when I compiled Andrew and used the 'non Sun' header file. However, the X11 library had been compiled with the Sun provided netdb.h. This header file is apparently only used in libX11.a in the file XConnDis.c, and this is only called if DISPLAY is set to something other than unix:0.0. Well, I have now got Andrew working, and am writing this message on a remote machine. Again , thanks for your help. Johan Widin SICS, PO Box 1263, S-164 28 KISTA, SWEDEN Internet: jw@sics.se Tel: +46 8 752 15 32 Ttx: 812 61 54 SICS S Fax: +46 8 751 72 30