Did you ever get this solved? I'm running into vaguely similar issues
with ssh and X11 forwarding.

Am I supposed to be able to ssh -X to another machine without xhost'ing
it, and have it take care of all the auth stuff by itself?

Alexey Toptygin <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I've got this CentOS 4.4 machine, and I can't run X apps under sudo, since 
> they get rejected by the X-server. DISPLAY is set correctly in the sudo 
> environemnt, but xterm (for example) says 'Xlib: connection to ":0.0" 
> refused by server'.
> 
> This problem seems very familiar (I think it may have been discussed on 
> the list before), but I don't remember how to solve it. It doesn't happen 
> on my Debian box at home. Is there some magic thing I need to tell sudo to 
> do, or do I need to change an Xorg config so that it's less picky?
> 
>                       Alexey
> 

Reply via email to