From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14751 invoked from network); 29 Jun 1998 20:27:41 -0000 Received: from web1.rocketmail.com (205.180.57.67) by mail2.redhat.com with SMTP; 29 Jun 1998 20:27:41 -0000 Message-ID: <19980629201651.22379.rocketmail@web1.rocketmail.com> Received: from [162.93.253.67] by web1; Mon, 29 Jun 1998 13:16:51 PDT Date: Mon, 29 Jun 1998 13:16:51 -0700 (PDT) From: Jeremiah Cornelius Subject: Re: RH 5.1 & XFree86-3.3.2-13: "connection to :0.0 refused by server To: axp-list@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii This MAY be related to a name-resolution issue on your box, I've seen it before. This can happen when it cannot locate its own display by hostname, and there is no reference to the display as localhost. Check your /etc/nsswitch.conf and make sure that the naming order is set to: files dns (if you are also using NIS: files dns nis Also, make sure that your machine has its hostname/IP pair entered in /etc/hosts. If you are not using static networking, you can set this IP equal to the loopback address. This should allow the config file to work its 'get by hostname' stuff... Jeremiah Cornelius ---Steve Frampton wrote: > > Hello: > > I'm having a strange problem with X. I've got my system configured to run > as runlevel 5, bootstrapping xdm. If I log in as a normal user, I can do > whatever I wish in X. But if I, for example, "su" to root, and then try > to run 'make xconfig', I get: > > "Xlib: connection to ":0.0" refused by server > Xlib: Client is not authorized to connect to Server > > Now, I certainly can understand why I would want to prevent other users > from accessing my display while I am using it, but in this particular > situation, *especially* while root, it seems strange that I get this. > > The solution to this is to run 'xhost +myhost.mydomain' and then run 'su' > again -- *then* things work properly. :-) > > I assume this is a bug? I don't remember seeing this behaviour on other > systems... > > --------------< LINUX: The choice of a GNU generation. >-------------- > Steve Frampton <3srf@qlink.queensu.ca> http://qlink.queensu.ca/~3srf > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com