From: Christopher Curtis <ccurtis@ee.fit.edu>
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 16:08:44 -0400 (EDT) [thread overview]
Message-ID: <Pine.GSO.3.96.980629160501.8259B-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <Pine.LNX.3.96.980629154727.18642B-100000@mail.flarc.edu.on.ca>
On Mon, 29 Jun 1998, Steve Frampton wrote:
> I'm having a strange problem with X. I've got my system configured to run
No you're not...
> 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
That's correct. Only you as the logged in user have access to the display.
> 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.
X grants root no special privelege. I suppose it *could* for root on the
local machine, but what about a root user from another machine? I guess
the thinking is that root can access the framebuffer directly if they
really wanted to, so X needn't make any special provisions above and
beyond those imposed by the kernel.
> The solution to this is to run 'xhost +myhost.mydomain' and then run 'su'
> again -- *then* things work properly. :-)
While you've su'd, simply open another xterm and "xhost +root@localhost".
Need you be reminded that "make xconfig" doesn't work reliably on Alpha?
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
next prev parent reply other threads:[~1998-06-29 20:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-29 19:51 RH 5.1 & XFree86-3.3.2-13: "connection to :0.0 refused by server Steve Frampton
1998-06-29 20:08 ` Christopher Curtis [this message]
1998-06-29 20:28 ` Steve Frampton
1998-06-29 20:49 ` Christopher Curtis
-- strict thread matches above, loose matches on Subject: below --
1998-06-29 20:16 Jeremiah Cornelius
1998-06-29 22:49 Jeremiah Cornelius
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