On Sat, 17 Mar 2001, Bret Hughes wrote:
> Date: Sat, 17 Mar 2001 23:38:19 -0600
> From: Bret Hughes <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Re: Connection refused to X server
>
> [EMAIL PROTECTED] wrote:
>
> > I must have screwed something up today. When I su to root and try to execute a
>program (red-carpet), I get the following:
> >
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Client is not authorized to connect to Server
> >
> > Any idea what might be causing this, or better yet, how to fix it?
> >
>
> the user running x has no given root the right to use the display. as
> the user issue the command
> xhost +localhost
>
> this gives all users on the local machine the right to use your display.
> I do no know how to do this for a single user only.
>
> HTH
>
> Bret
>
The manual page has the answer to this:
[+]name The given name (the plus sign is optional) is
added to the list allowed to connect to the X
server. The name can be a host name or a user
name.
--
------------------------------------------------------
Nitebirdz
------------------------------------------------------
http://www.linuxnovice.org
News, tips, articles, links...
*** http://www.mozilla.org ***
Fight the Microsoft.Net world domination strategy!
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list