Ethereal-users: RE: [Ethereal-users] Ethereal from the Command Line

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

From: Richard Urwin <RUrwin@xxxxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 15:11:02 -0000
> From: Phillip Thompson
> [mailto:Phillip.Thompson@xxxxxxxxxxxxxxxxxxxxxxxx]
> Sent: 19 January 2004 03:28
> 
> Am I asking the impossible in trying to run ethereal from the command
> line. It works fine from within KDE or if I shell out to a terminal
> session. If I try to run ethereal from a linux command line 
> prompt all I
> get is  the following line
> 
> Gtk-WARNING **: cannot open display:
> 
> Have I missed something ?

The command line version of Ethereal is "tethereal". Running "ethereal" from
the command line will start the gui, and there must be a windowing system
running to start the gui on. Running tethereal will use the text interface.
This is probably what you want.

If you have X running, and want to use gui ethereal but it isn't working,
make sure you have the variable "display" in your environment. IIRC the
correct value is

:0

(that's colon zero)
Or to run on a remote machine:

hostname:0

This variable is invariably set in xterm etc. but otherwise may not be.

--
Richard Urwin, Private
"No 9000 series computer has ever made a mitsake or corrubiteddatatato."


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________