Hello,

On trying to run xcdroast (or any program that requires X display) after
su'ing in as root, I get the following error:

-------
[root @gandalf karthik]$ xcdroast 
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

Gtk-WARNING **: cannot open display: :0.0
-------

On executing xhost +127.0.0.1, and trying the same, I am able to run 
the application without any problems. 

Why does this happen? Is'nt localhost allowed to connect to the Xserver by
default (am I being protected from something bad here?) ? What can I do to
resolve this so that I don't need to xhost prior to executing an
X-application?

Thanks,

-K

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to