xhost localhost?
On Mon, 16 Oct 2006, Alexey Toptygin 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