Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!ucbvax!ucdavis!csusac!unify!openlook!openlook-request From: sane!genmri!doug@crdgw1.ge.com (Doug Becker) Newsgroups: comp.windows.open-look Subject: Re: Setting the correct DISPLAY when starting up OpenWindows Message-ID: <656uu7u@openlook.Unify.Com> Date: 25 Mar 91 18:31:00 GMT Lines: 22 The problem: I can't see how to tell the server that the display I want is `hostname`:0.0 instead of :0.0 A quick glance through the openwin script shows that it doesn't like any display specification that doesn't begin with a colon. If Emacs is trying to open `hostname`:0.0 when your DISPLAY environment variable is :0.0, Emacs is broken. (I use Emacs in an xterm, so I can't tell exactly what's wrong.) Are you sure Emacs is linked with the R4 libraries, so that it can pick up the authorization data correctly? Probably the easiest way to get Emacs working, if you're not overly concerned about security, is to do an 'xhost +`hostname`' before you start emacs. (You could then do an 'xhost -`hostname`' after it had started.) Alternatively, you could have the OW 2.0 server start up with authorization turned off (via the -noauth option to openwin). -- Doug Becker doug@nmri.ge.com crdgw1!sane!doug