|11-09-2005, 03:39 PM||#1|
Join Date: Nov 2005
I'm fairly new to Apple and trying to get some of the open source network management tools up and running within OS X. I have installed Open Darwin, X11, and the Apple Dev kit. When i try to launch an application such as ethereal for instance, it dumps and says the following:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(ethereal:1964): Gtk-WARNING **: cannot open display:
I've added export DISPLAY=0.0 to my .profile but that doesn't seem to help.
|11-10-2005, 10:10 AM||#2|
Join Date: Jan 2002
Are you running X11 through 'sudo'? Anyhow, The usual fix is to delete the .Xauthority file in your home directory and re-create an empty file:
1- Start X11.
2- Start ethereal from an xterm in X11 with:
sudo /sw/bin/ethereal (if installed with fink)
Or you could write:
if [[ -z $DISPLAY ]]; then export DISPLAY=:0.0 fi
Last edited by sao; 11-10-2005 at 12:09 PM.
|Display Modes||Rate This Thread|