Hi All,
i'm using m.nviz.image on grass 7 to generate 3d tiff images.
i'm using it from inside an IPython shell, i exporters the environmental vars and i'm running the command using a syntax like :
import grass.script as grass
grass.run_command('m.nviz.image', elevation_map='inputdata', output='morpho3d', perspective=25, height=1000, color_map='morphof', resolution_fine=1, resolution_coarse=1, format='tif')
when i start the python shell directly on the computer everythin works fine .. but for some reasons when i start the connection to grass using ssh and then run the m.nviz.image .. i receive the error :
ERROR: Bad server connection
i tried the same with and without python, using just grass itself, and if i start the 'process' from ssh .. i receive the error i posted before.
have you any clue on what's the cause of this error ?
tell me if you need more info to debug this problem.
Thanks!
Massimo.