Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.windows.open-look Subject: Setting the correct DISPLAY when starting up OpenWindows Message-ID: Date: 25 Mar 91 09:22:43 GMT Sender: news@bu.edu.bu.edu Distribution: comp Organization: What do you mean I *can't* do that???? Lines: 35 Running SunOS 4.1.1 with OW2.0 Using the default openwin script to start up X server The problem: I can't see how to tell the server that the display I want is `hostname`:0.0 instead of :0.0 If I want to run something like emacs from the menus, I get a console message stating > XNeWS Network security violation > Rejected connection from: raven > Client is not authorized to connect to server It is obviously the DISPLAY variable. The openwin script is set up to only allow :0.0 and will barf if you (ie, me) try to play with it. I tried setting it in .openwin-init but it seems to have no effect at all. Thanks for any help...And I know, this should be in a FAQ, but as of yet, I don't believe there is one for C.W.O-L *8-) SUN - Care to volunteer any staff members???? (* grin *) Didn't think so... JC -- James Cameron - jc@raven.bu.edu | "But to risk we must, for the Signal Processing and Interpretation Lab | greatest hazard in life is to risk ECS Engineering Dept. | nothing. For the man or woman who Boston University, Boston MA | risks nothing, has nothing, does Work: 617 353-2879 | nothing, is nothing." Information Technology | Boston University, Boston MA | (Quote from the eulogy for the late work: 617 353-2780 ext. 338 | Christa McAuliffe.)