[Thread Prev][Thread Next][Index]

Re: ferret on winXP



R Prabowo wrote:

Dear ferreters,

Following installation guide provided (http://ferret.pmel.noaa.gov/Ferret/Downloads/ferret_installation_win32.html and http://www.ferret.noaa.gov/Ferret/FAQ/system/getting_started_on_pc.html), I installed ferret for windows XP under d:/Progem Files/TMAP and free cygwin X-server software under D:/Program Files/cygwin on a notebook. The installation was fine. When I double clicked on the icons, new console windows (for cygwin and ferret) popped up. It is pointing to \tmp directory (for ferret).

I believe the problem is that you have not started the X-server in cygwin yet. The ferret user guides don't deal with setting up cygwin's X-server, so I'm going to tell you the steps to perform from the beginning.

1. When you install cygwin, the X-server is not automatically installed. If you didn't install the X-server when you installed cygwin, you can run the cygwin setup.exe program again to update your cygwin setup. On the "Cygwin Setup - Select Packages" screen, scroll down to the "X11" section, expand the menu, and select "xorg-x11-base". This will install the X-server.

2. Once the X-server is installed, the easiest way to start it is to open cygwin and type "startx". This should start the X-server.

3. Once the X-server is running, start ferret. It should automatically connect to the X-server and be able to display figures.

A better way to run the X-server is to make a shortcut to D:\Program Files\cygwin\usr\X11R6\bin\startxwin.bat. Then you can run the X-server by clicking on the shortcut. startxwin.bat also has configuration options that you can change to alter how the X-server starts up, if you know enough about X-servers and unix commands.

I wander I could not do point 9 of the installation guide. When I did:
“setenv DISPLAY :0.0; export DISPLAY” (on either ferret or cygwin window) it said “bash: setenv: command not found”. What should I do in this case? Though, ‘ferret‘ popped up on ferret window when I called it.

You shouldn't have to add any settings to the default configurations to get ferret to connect to the X-server. However, the correct command in this case would be 'export DISPLAY=":0.0"'

I hope that helps!

Jordan


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement