Help...Connection to ":0.0" refused by server
Ok before all of the use search responses come, I have used search, I have searched here and I have searched google. I have an idea why I get this message but I am not sure how to fix it.
I am running SUSE 8.2. I open a xterm window and then su. I dont su -. then I try to run /usr/local/bin/showeq and i get the disclaimer then the error
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
showeq: cannot connect to X server :0.0
but when I log into X as root I can run showeq without a problem.
I have seen answers like do a xhost + or xhost +127.0.0.1 and when i type those commands in I get the same error i get when trying to run showeq.
I think this is a issue with a default security setting in suse 8.2, like su is aliased to su - or some other easy answer but like I said I have searched here and on goolge and the answers i find dont fix my problem... Anyone have any ideas ?