Hello,<br>The problem that I encountered no longer appears.<br><br>I opened grass62 in text mode using the Spearfish60, typed in g.gisenv and noticed that LOCATION_NAME was set to Spearfish60 but not LOCATION. I then added a LOCATION variable (not sure if needed) and then entered
gis.m which then opened up the GRASS6.2 manager, map display and output windows. I can now enter the GUI and the text based modes without seeing the same error message that I saw before. The problem I currently face is that when I enter the command into the GRASS command prompt:
<br><br>d.mon x0<br><br>The following message appears:<br><br>GRASS 6.2.1 (spearfish60):~ > d.mon x0<br>using default visual which is TrueColor<br>ncolors: 16777216<br>Graphics driver [x0] started<br>Socket is already in use or not accepting connections.
<br>Use d.mon to select a monitor<br>Problem selecting x0. Will try once more<br>Socket is already in use or not accepting connections.<br>Use d.mon to select a monitor<br>GRASS 6.2.1 (spearfish60):~ > d.rast soils<br>
No graphics monitor has been selected for output.<br>Please run "d.mon" to select a graphics monitor.<br><br>I get similar messages regardless of whether I do this in the GRASS command prompt or the Grass Manager window.
<br>The list and info commands appear to be working.<br><br>Ramu<br><br><br><br><div><span class="gmail_quote">On 2/19/07, <b class="gmail_sendername">Glynn Clements</b> <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hamish wrote:<br><br>> If you ever manage to make it into GRASS you can try "
g.gisenv --help" at<br>> the command prompt and see if you get a useful help message there.<br>> That will tell you if most of the program is working.<br>> g.gisenv is what sets $LOCATION.<br><br>If you have trouble getting past
Init.sh and into a shell, one option<br>is to avoid the -text/-gui interaction altogether and just specify the<br>complete path to the mapset directory, e.g.:<br><br> grass62 -text ~/grass-data/spearfish57/glynn<br>
<br>[equivalent to specifying database:/home/glynn/grass-data,<br>location:spearfish57, mapset:glynn in the start-up screen.]<br><br>If that doesn't work, you can try bypassing Init.sh altogether, by<br>creating a ~/.grassrc6 file and setting up the "session" manually.
<br><br>This is what I use in my ~/.bashrc to make GRASS commands available<br>everywhere:<br><br> export GISBASE=/opt/grass-6.3.cvs<br> export GRASS_GNUPLOT='gnuplot -persist'<br> export GRASS_WIDTH=640
<br> export GRASS_HEIGHT=480<br> export GRASS_HTML_BROWSER=firefox<br> export GRASS_PAGER=cat<br> export GRASS_PERL=perl<br> export GRASS_TCLSH=tclsh<br> export GRASS_WISH=wish<br>
<br> export PATH="$GISBASE/bin:$GISBASE/scripts:$PATH"<br> export LD_LIBRARY_PATH="$GISBASE/lib"<br> export GRASS_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"<br><br> export GIS_LOCK=$$
<br> export GRASS_VERSION="6.1.cvs"<br><br> tmp=/tmp/grass6-"`whoami`"-$GIS_LOCK<br> export GISRC="$tmp/gisrc"<br> mkdir "$tmp"<br> cp ~/.grassrc6 "$GISRC"
<br><br>--<br>Glynn Clements <<a href="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</a>><br></blockquote></div><br>