From: Jeremiah Cornelius <jcorneli@rocketmail.com>
To: axp-list@redhat.com
Subject: Re: RH 5.1 & XFree86-3.3.2-13: "connection to :0.0 refused by server
Date: Mon, 29 Jun 1998 13:16:51 -0700 (PDT) [thread overview]
Message-ID: <19980629201651.22379.rocketmail@web1.rocketmail.com> (raw)
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 <frampton@mail.flarc.edu.on.ca> 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
next reply other threads:[~1998-06-29 20:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-29 20:16 Jeremiah Cornelius [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-06-29 22:49 RH 5.1 & XFree86-3.3.2-13: "connection to :0.0 refused by server Jeremiah Cornelius
1998-06-29 19:51 Steve Frampton
1998-06-29 20:08 ` Christopher Curtis
1998-06-29 20:28 ` Steve Frampton
1998-06-29 20:49 ` Christopher Curtis
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox