PDA

View Full Version : Cannot connect to X server :0.0



uRit1u2CBBA=
01-30-2005, 05:11 PM
I've built my new linux box, but have a problem that I've not been able to solve.

I can run showeq just fine as my non-su user, but of course it cannot sniff packets that way.

But when I try to run it as root, I get :


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

showeq: cannot connect to X server :0.0

Anyone have an idea what I can try to get it working?

Thanks.

(yes I know showeq won't really work, I'm just trying to get it to run).

purple
01-30-2005, 05:34 PM
xhost +?

Or chmod u+s `which showeq` then run as your normal user.

uRit1u2CBBA=
01-30-2005, 05:37 PM
chmod u+s worked.

Thanks.

Cryonic
01-30-2005, 11:19 PM
xhost +localhost

and this should have been in helpdesk not the dev forum.