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 12:35:27 -0700 (PDT)
Igor Krugliak wrote:
> When I run "xhost" on Solaris I have
>
> # ./xhost
> ./xhost:  unable to open display ""
>
> Any parameters should apply..?

To repeat one of my previous questions:

> What have you set the DISPLAY environment variable to?

If you haven't set it, *NO* X11 program, whether it's xhost or Ethereal
or..., will work.

If you're Telnetted into the Solaris machine from some other machine, set
DISPLAY to {host name of that machine}:0.0; for example, if the machine is
named "mydesktop", set it to "mydesktop:0.0".

>From the Bourne shell or a compatible shell (ksh, bash, etc.), do

    DISPLAY={hostname}:0.0; export DISPLAY

and from the C shell or a compatible shell (tcsh, etc.) do

    setenv DISPLAY {hostname}:0.0

(for other shells you'll have to determine the right command yourself).