Debian Codegraph @

debian/README.RunningWithoutGUI

raw
1 There are a number of ways to run GRASS without a GUI.
2 (for example if the grass-gui package has not been installed)
3
4
5 Non-interactive: (e.g. a cron job on a back-end server)
6 Use the GRASS_BATCH_JOB environment variable to set the path to
7 the job script. Note this method may not work over NFS in HPC
8 Grid computing situations. See the GRASS wiki for details and
9 the workaround.
10
11 Interactive:
12 To use just the GRASS command line interface most things will
13 work as normal, including d.mon graphics X-monitors and rendering
14 with the PNG drivers. To avoid error messages you will probably
15 want to set "export GRASS_UI_TERM=1" in your ~/.grass.bashrc file
16 and run "g.gui text" within GRASS to set the default GUI mode.
17
18 From Quantum GIS or R-Statistics:
19 For use with QGIS you just need the grass-core and grass-doc
20 packages to be installed. For use with R typically you'd start
21 your R session from the GRASS command prompt, but it is
22 technically possible to run GRASS as a background job from R
23 (see the non-interactive notes above).
24
25
26 As always, help can be found on the GRASS Wiki site:
27 https://grass.osgeo.org/wiki/
28
29
30