[GRASS-dev] [GRASS GIS] #2683: grass 7 doesn't start in text mode on CentOS 7

GRASS GIS trac at osgeo.org
Tue Nov 24 09:39:16 PST 2015


#2683: grass 7 doesn't start in text mode on CentOS 7
----------------------------+-------------------------
  Reporter:  morenocomelli  |      Owner:  grass-dev@…
      Type:  defect         |     Status:  new
  Priority:  normal         |  Milestone:  7.0.3
 Component:  Startup        |    Version:  7.0.0
Resolution:                 |   Keywords:  centos
       CPU:  Unspecified    |   Platform:  Unspecified
----------------------------+-------------------------

Comment (by morenocomelli):

 Same problem with GRASS 7.0.2 and GRASS 7.1.[[BR]]
 GRASS looks for location and mapset, and since there are none defined when
 starting the first time, the error appears (in text mode only).[[BR]]
 If mapset and location are created through gui, at next start in text mode
 they're the default settings. An other option is to create the
 /root/.grass7/rc file with proper parameters and the missing part of dir
 tree (the supposed dirs with database, location and mapset).



 Replying to [ticket:2683 morenocomelli]:
 > I'm trying to start grass 7 on CentOS 7 in text mode (Grass 6.4.4
 installed via yum works correctly).
 > On Centos with GUI:
 >
 > {{{
 > # grass70 -text
 > ERROR: Unable to start GRASS. You can:
 >  - Launch GRASS with '-gui' switch (`grass70 -gui`)
 >  - Create manually GISRC file (/root/.grass7/rc)
 >  - Launch GRASS with path to the location/mapset as an argument
 (`grass70 /path/to/location/mapset`)
 > Exiting...
 > }}}
 >
 > On CentOS without GUI:
 > {{{
 > # grass70 -text
 > WARNING: Searched for a web browser, but none found
 > ERROR: Unable to start GRASS. You can:
 >  - Launch GRASS with '-gui' switch (`grass70 -gui`)
 >  - Create manually GISRC file (/root/.grass7/rc)
 >  - Launch GRASS with path to the location/mapset as an argument
 (`grass70 /path/to/location/mapset`)
 > Exiting...
 > }}}
 >
 > {{{
 > #grass70
 > WARNING: Searched for a web browser, but none found
 > Starting GRASS GIS...
 > WARNING: It appears that the X Windows system is not active.
 > A graphical based user interface is not supported.
 > Switching to text based interface mode.
 >
 > Hit RETURN to continue
 >
 > ERROR: Path '/home/download/grass-7.0.0/<UNKNOWN>/<UNKNOWN>' doesn't
 exist
 > Exiting...
 > }}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2683#comment:5>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list