x only allows the current user to connect to the running session of X , not even root has access unless allowed, you can xhost +localhost to add everybody local to the machine to access X then when yer done xhost -localhost
or just xhost + to allow all clients anyware to connect, and xhost - to disable that
On Sun, 2003-03-16 at 17:12, Jason Giangrande wrote:
Everything works fine as a normal user but if I try to run something
while sudo root I get the following error.

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

And then something like:

cannot open display: :0.0 (or) Xlib: connection to ":0.0" refused by
server

Anyone seen this before?  Is there a setting somewhere that could fix
this?  Or does it have to do with my grsecurity settings, which are set
to medium?  Anyone have any ideas?

Jason




--
[EMAIL PROTECTED] mailing list
-- 
Nicholas Hockey (Tilt) <[EMAIL PROTECTED]>
Unix Administrator
Encrypted E-Mail is preferred..
-------------------------------------------------------------------- 
GnuPG KeyID 4EDE2B84
Key fingerprint = B916 6032 BE3D 490D 2A08  F1BC 948A A4C1 4EDE 2B84
HKP: gpg --keyserver pgp.mit.edu --recv-keys 4EDE2B84
LDAP: gpg --keyserver ldap://keyserver.pgp.com --recv-keys 4EDE2B84
--------------------------------------------------------------------

Reply via email to