Ethereal-users: Re: [Ethereal-users] Solaris 9 GTK cant open display

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: Tue, 25 Jan 2005 12:37:06 -0800
Plantier, Spencer wrote:
I have ethereal up and running on Solaris. When I go to x windows to run it I get GTK cant open display.
Is the display attached to the machine running Solaris, or is the 
display attached to a desktop machine, perhaps not running Solaris, with 
the Solaris machine perhaps being headless and connecting to your 
desktop machine over the network?
How do I fix this?
If the Solaris machine *is* your desktop machine, then:

If you're running Ethereal as root, make sure that root is authorized to connect to the X server.
If the Solaris machine *isn't* your desktop machine, then:

Make sure that the DISPLAY environment variable is set appropriately on the Solaris machine - it should probably be set to {hostname}:0, where {hostname} is the host name of your desktop machine.
	Make sure that host is allowed to connect to your X server (e.g., by 
using the "xhost" command on your desktop machine, if it's running UN*X).