[GRASSLIST:1458] Re: GRASS on OSX -

Glynn Clements glynn.clements at virgin.net
Thu Oct 9 08:45:58 EDT 2003


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 at virgin.net>




More information about the grass-user mailing list