root X problem

Kevin Brown plug-discuss@lists.plug.phoenix.az.us
Thu, 29 May 2003 07:48:50 -0700


Carl Parrish wrote:

> A long time ago I did something so that X wouldn't have access to X.
> (most of the time this if fine) but now I want to run xcdroast which has
> to be run as root. So I want to allow root to access X. here is the
> error I'm getting. 
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> 
> Gtk-WARNING **: cannot open display: :0
> Anybody have any idea how to reset this? So that root can run this
> program?

xhost +localhost