Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!rpi!bu.edu!nntp-read!jc From: jc@raven.bu.edu (James Cameron) Newsgroups: comp.windows.open-look Subject: Re: Setting the correct DISPLAY when starting up OpenWindows Message-ID: Date: 25 Mar 91 22:45:44 GMT References: Sender: news@bu.edu.bu.edu Distribution: comp Organization: What do you mean I *can't* do that???? Lines: 48 In-reply-to: jc@raven.bu.edu's message of 25 Mar 91 09:22:43 GMT [...Re-posting to clarify things...] >>>>> On 25 Mar 91 09:22:43 GMT, jc@raven.bu.edu (James Cameron) said: James> Running SunOS 4.1.1 with OW2.0 James> Using the default openwin script to start up X server James> The problem: I can't see how to tell the server that the display I want James> is `hostname`:0.0 instead of :0.0 If I want to run something James> 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 James> It is obviously the DISPLAY variable. The openwin script The overwhelming response I got was to use the -noauth option upon startup. This to me seems like a real bad work around of some problem. The DISPLAY variable *should* be set to `hostname`:0 from my understanding; however, openwin insists that it be :0.0 I mentioned above that if I run emacs from the menu bindings without the -noauth option, it can't connect. The same is true if I try to run it from an xterm....can't connect until I set the DISPLAY to `hostname`:0 I am only dealing with the terminal that I am on. I am not trying to have remote computers pop things up on my screen; I just want the things that *should* show up on the terminal show up. I would like to have Xdm running openwin, and could set it up right now, but I will continue with Xsun until I am told of a way to get around the -noauth problem. 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.)