Ethereal-users: Re: [Ethereal-users] Ethereal Error Message (ethereal:17023): Gtk-WARNING **: ca

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 25 Sep 2004 00:11:51 -0700
Geoff WALLACE wrote:

New to all this UNIX stuff, have installed Ethereal using Fink 0.7.1, X11
was already installed and had been updated to the latest version 1.1.

Yes, but was X11 *running*? If it wasn't launched (I'm assuming that, if your X11 isn't the Panther X11, it's an app that gets launched, just as the Apple X11 that comes with Panther is an app that gets launched), you'd have to launch it.

Have installed but cannot get it to run, get the following error message
when I try to run ethereal from the Terminal.

"(ethereal:17023): Gtk-WARNING **: cannot open display:"

You'll *also* have to set the environment variable DISPLAY to :0.0 so that X11 applications will attempt to connect to the local X server. Do

	setenv DISPLAY :0.0

if you're using a C shell-compatible shell (command prompt ends with a "%") or

	DISPLAY=:0.0; export DISPLAY

if you're using a Bourne-compatible shell (command prompt ends with a "$").

You might want to put that in your .login (for C shell-compatible shells) or .profile (for Bourne-compatible shells) so that it happens automatically.