On Thu, Apr 13, 2000 at 04:32:31PM -0500, Bryan Walton wrote:
> Greetings to the list,
>       I have a situation where I need to run one program as root,
> through an x terminal, while my x windows session is being run as
> non-root.  When I open up an x terminal in this environment, become
> superuser, and then execute the program, the program fails with the
> following message:
>       Xlib: connection to ":0.0" refused by server
>       Xlib: Client is not authorized to connect to Server
>       Error: Can't open display: :0.0

Bring up xterm,

ssh -l root localhost

No need to muck around with xhost or magic cookies or anything else.

Robin

Reply via email to