Ethereal-users: Re: [Ethereal-users] Start Ethereal 0.10.12

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: Wed, 21 Sep 2005 10:13:23 -0700
Igor Krugliak wrote:

I run ethereal in this way and get next results:

# ./ethereal

Gtk-WARNING **: cannot open display:

What is the value of the DISPLAY environment variable?

If it's set to display locally (i.e., you're running Ethereal on a desktop Sun workstation or a PC running Solaris), have you configured your desktop X server to allow connections by root (using xhost)? I suspect Solaris uses a local connection mechanism that supports passing credentials, so it can know the user ID for local connections.

If it's set to display remotely (i.e., you're remotely logged in to the Solaris machine, and want it to display on a different machine on your desktop), have you configured the desktop machine's X server to allow connections from the Solaris machine?

If it's not set at all, it needs to be set appropriately.