root X problem

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Kevin Brown
Date:  
Sujet: root X problem
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