root X problem

George Toft plug-discuss@lists.plug.phoenix.az.us
Sat, 31 May 2003 18:50:02 -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 ha=
s
> 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?
> =

> --
> Carl Parrish (cparrish@carlparrish.com)
> http://www.carlparrish.com
> ---
> Registered Linux User #295761 http://counter.li.org
> =

> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Read the manual - it tells you the file you need to make suid root if
you want regular users to use xcdroast.  I found it quite annoying to
become root to burn a CD, so I performed my risk analysis - since I was
the only user on the system, I determined the risk was acceptable, and
chmodded the file.

George
-- =

Discover . . .         | Free Computer Security Information
        <=B7=B7=B7> Secure   | http://www.georgetoft.com/security
         Networking    | =

@http://georgetoft.com | Lock your box - keep your affairs private!