<div>Thank you all for your input. You're correct. I invoked remotely the OpenEv command from DOS command prompt. It's working fine when I use xterm.</div> <div> </div> <div>Thanks again.<BR><BR><B><I>Frank Warmerdam <warmerdam@pobox.com></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Tuan Giang wrote:<BR>> Hello guys,<BR>> <BR>> I generated the NITF files from jpeg images using the "gdal_translate" <BR>> command. I like to view the generated NITF output files but the "openev <BR>> -h" command is not working on this machine. I wonder if you guys <BR>> have came across this problem before. It would be great if you guys can <BR>> provide some advice. Thanks. <BR>> <BR>> [giangt@cluster-dev2 FWTools-2.0.4]$ openev -h<BR>> Setup for user installed hardware acceleration<BR>> Traceback (most recent call last):<BR>> File
"/home/giangt/fwtools/FWTools-2.0.4/bin/../pymod/openev.py", line <BR>> 80, in ?<BR>> import gviewapp<BR>> File "/home/giangt/fwtools/FWTools-2.0.4/bin/../pymod/gviewapp.py", <BR>> line 136, in ?<BR>> import gtk<BR>> File <BR>> "/home/giangt/fwtools/FWTools-2.0.4/lib/python2.2/site-packages/gtk.py", <BR>> line 29, in ?<BR>> _gtk.gtk_init()<BR>> RuntimeError: cannot open display<BR><BR>Tuan,<BR><BR>I imagine this is an X Display issue. Are you running openev on a different<BR>system from the one that is your display system? Perhaps you need to run<BR>"xhost +" on your host system, or fix your DISPLAY environment variable to<BR>point to the right place.<BR><BR>On the off chance that is not the issue, you might also try running openev<BR>without the -h switch for using hardward acceleration.<BR><BR>Best regards,<BR>-- <BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up | Frank
Warmerdam, warmerdam@pobox.com<BR>light and sound - activate the windows | http://pobox.com/~warmerdam<BR>and watch the world go round - Rush | President OSGeo, http://osgeo.org<BR><BR></BLOCKQUOTE><BR><p> 
<hr size=1>Never miss a thing. <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>