|
|
#1 |
|
Registered User
Join Date: Nov 2005
Posts: 1
|
Hello,
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. Please Help
|
|
|
|
|
|
#2 | ||||||||||||||||||||||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
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: cd rm .Xauthority touch .Xauthority Then: 1- Start X11. 2- Start ethereal from an xterm in X11 with: sudo /sw/bin/ethereal (if installed with fink)
Or you could write: Code:
if [[ -z $DISPLAY ]]; then export DISPLAY=:0.0 fi Last edited by sao; 11-10-2005 at 12:09 PM. |
||||||||||||||||||||||||||||||||||||||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|