[GRASS-dev] m.nviz.image - Bad server connection

Markus Neteler neteler at osgeo.org
Fri Feb 7 14:42:51 PST 2014


On Wed, Feb 5, 2014 at 7:11 AM, epi <massimodisasha at gmail.com> wrote:
> Hi,
>
> i'm tring to generate a 3d image with m.nviz.image, the following command works fine form a 'standard' GRASS session in text mode on my laptop
> but if try to run the same command on a sever while i'm connected via SSH i got the error : Bad server connection

Many grass power users work like this, so that's well tested in general.

> Have you any clue on how to fix this ?
> is there any environment var that needs to be exported in order to have m.nviz.image running during an SSH session ?
>
> GRASS 7.0.svn (nc_spm_08_grass7):~ > m.nviz.image \
> elevation_map=elevation \
> output=elevation_3d \
> perspective=15 \
> height=2000 \
> color_map=elevation \
> resolution_fine=1 \
> resolution_coarse=1 \
> format=tif
>
>
> ERROR: Bad server connection
> GRASS 7.0.svn (nc_spm_08_grass7):~ >

Did you redirect the Display stream?

ssh -Y yourserver

Perhaps that solving the issue.

Markus


More information about the grass-dev mailing list