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: 27 Mar 91 14:13:55 GMT References: Sender: news@bu.edu.bu.edu Distribution: comp Organization: What do you mean I *can't* do that???? Lines: 57 In-reply-to: jc@raven.bu.edu's message of 25 Mar 91 22:45:44 GMT One last time.....*8-) (* smile *) Here, let me make the situation completely clear and then something might be solved.... On the console (a 4/xxx) of raven.bu.edu I want to login in and start up OpenWindows. I don't specify any DISPLAY variable in my .login or .cshrc files as I might be on a simple vt220 (as I am now *8-) ) Once I login and kill of XDM and Xsun (the default Xserver) I can log in again and run openwin by typing my-prompt % openwin Once it is up and running, I do % echo $DISPLAY :0.0 % xhost raven.bu.edu % emacs & XNeWS Network security violation Rejected connection from: raven Client is not authorized to connect to server [...The above is being sent to my console xterm (ie xterm -C &)] % setenv DISPLAY `hostname`:0.0 [...ie setenv DISPLAY raven:0.0] % emacs & That works just fine *AND* all other applications including all from the $OPENWINHOME/bin directory. That is all work from *that* xterm only. 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.) -- 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.)