[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AWIPS #DSK-757337]: Gtk-Warning

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [AWIPS #DSK-757337]: Gtk-Warning
  • Date: Thu, 28 Aug 2014 14:25:34 -0600

> I entered the command “cave.sh” and received the warning,
> 
> “(zenith:19821) : Gtk-WARNING **: cannot open display: :0.0” and “No protocol 
> specified”

Hi Justin,

The command "ps aux | grep Xorg" will show you how your X server is running.  
For example, you should see something like "/usr/bin/Xorg :0 -nr ..."

Then, check the environmental variable $DISPLAY with the command "echo 
$DISPLAY".

If it is not set, you can set it with the command "setenv DISPLAY :0.0" (in 
tcsh) or "export DISPLAY=:0.0" (for bash).

Michael James
Unidata Program Center
Boulder, CO

Ticket Details
===================
Ticket ID: DSK-757337
Department: Support AWIPS
Priority: Normal
Status: Open