[GRASSLIST:1450] GRASS on OSX -

Hi - I'm trying to run Grass GIS 5.0.2. on Mac OS X (from Openosx.com)

The install went smoothly enough but am unable to get the GUI / Window System running. I have installed Apple X11. I am up to date on all System SW.

I am able to get a pallete up called "Wish" - however when I try to get load some kind of rastor - I get the message "No graphics monitor has been selected for output.
Please run "d.mon" to select a graphics"

I run d.mon and list my displays...
++++++++++++++++++++++++++++++++++++++++++++++
Hit RETURN to return to menu
> list -f

Monitors:

name description status
---- ----------- ------
x0 X-windows graphics display not running
x1 X-windows graphics display not running
x2 X-windows graphics display not running
x3 X-windows graphics display not running
x4 X-windows graphics display not running
x5 X-windows graphics display not running
x6 X-windows graphics display not running
CELL Create GRASS Raster File not running
HTMLMAP Create HTML Image Map not running
PNG Create PNG Map not running

hit RETURN ->
++++++++++++++++++++++++++++++++++++++++++++++
Examples of other errors:

GRASS 5.0.2 > NavGetReply failed, -128 xterm Xt error: Can't open display:
GRASS 5.0.2 > tcltkgrass & [2] 2774
GRASS 5.0.2 > xterm Xt error: Can't open display:
NavGetReply failed, -128

I feel like I am so close to getting going on GRASS - but this Monitor thing is totally hosing me.

Has anyone battled this in OS X? Any advice and guidance would be appreciated.

Regards,
Hugh Evans

On Wed, Oct 08, 2003 at 11:27:19PM -0600, Hugh Evans wrote:

Hi - I'm trying to run Grass GIS 5.0.2. on Mac OS X (from
Openosx.com)

The install went smoothly enough but am unable to get the GUI / Window
System running. I have installed Apple X11. I am up to date on all
System SW.

I am able to get a pallete up called "Wish" - however when I try to get
load some kind of rastor - I get the message "No graphics monitor has
been selected for output.
Please run "d.mon" to select a graphics"

I run d.mon and list my displays...
++++++++++++++++++++++++++++++++++++++++++++++
Hit RETURN to return to menu
> list -f

The command would we "d.mon start=x0" or similiar.

Examples of other errors:

GRASS 5.0.2 > NavGetReply failed, -128 xterm Xt error: Can't open
display:
GRASS 5.0.2 > tcltkgrass & [2] 2774
GRASS 5.0.2 > xterm Xt error: Can't open display:

Can you open windows of other GRASS unrelated X11 applications.
Maybe xeyes or xterm?
The error seem to be related to the setup of your shell
or X11 server and not the GRASS specific.

Has anyone battled this in OS X? Any advice and guidance would be
appreciated.

No I haven't tried this on OS X, because I try to use Free Software
as much as I can. :wink:
Maybe my general hints also are helpful.
  Bernhard

Hugh Evans wrote:

Examples of other errors:

GRASS 5.0.2 > NavGetReply failed, -128 xterm Xt error: Can't open
display:
GRASS 5.0.2 > tcltkgrass & [2] 2774
GRASS 5.0.2 > xterm Xt error: Can't open display:
NavGetReply failed, -128

1. Ensure that the X server is actually running.

2. Ensure that the environment variable DISPLAY is set appropriately.

For a Bourne shell (bash, ksh etc), use:

  DISPLAY=:0
  export DISPLAY

For a C shell (csh, tcsh), use:

  setenv DISPLAY :0

If you start the X server as part of a session (e.g. using startx),
any terminals (xterm) which were created as part of the session should
already have DISPLAY set appropriately. OTOH, if you start the X
server directly, you have to set DISPLAY manually.

--
Glynn Clements <glynn.clements@virgin.net>

You have probably already done this, but make sure you are logged in as an
administrator, I remember I had similar problems when I tried to use grass as a
normal osx user. Good luck

-i

Quoting Hugh Evans <hevans@mac.com>:

Hi - I'm trying to run Grass GIS 5.0.2. on Mac OS X (from Openosx.com)

The install went smoothly enough but am unable to get the GUI / Window
System running. I have installed Apple X11. I am up to date on all
System SW.

I am able to get a pallete up called "Wish" - however when I try to get
load some kind of rastor - I get the message "No graphics monitor has
been selected for output.
Please run "d.mon" to select a graphics"

I run d.mon and list my displays...
++++++++++++++++++++++++++++++++++++++++++++++
Hit RETURN to return to menu
> list -f

Monitors:

name description status
---- ----------- ------
x0 X-windows graphics display not running
x1 X-windows graphics display not running
x2 X-windows graphics display not running
x3 X-windows graphics display not running
x4 X-windows graphics display not running
x5 X-windows graphics display not running
x6 X-windows graphics display not running
CELL Create GRASS Raster File not running
HTMLMAP Create HTML Image Map not running
PNG Create PNG Map not running

hit RETURN ->
++++++++++++++++++++++++++++++++++++++++++++++
Examples of other errors:

GRASS 5.0.2 > NavGetReply failed, -128 xterm Xt error: Can't open
display:
GRASS 5.0.2 > tcltkgrass & [2] 2774
GRASS 5.0.2 > xterm Xt error: Can't open display:
NavGetReply failed, -128

I feel like I am so close to getting going on GRASS - but this Monitor
thing is totally hosing me.

Has anyone battled this in OS X? Any advice and guidance would be
appreciated.

Regards,
Hugh Evans

-----------------------------------------------------
Ian MacMillan
Geological Sciences-UCSB