[GRASSLIST:2561] Re: grass5 and network connections

Eric G. Miller egm2 at jps.net
Sun Oct 7 13:59:02 EDT 2001

On Sun,  7 Oct 2001 18:52:06 +0200, "giorgio19291 at inwind.it"<giorgio19291 at inwind.it> wrote:

> Hi All,
>  I have a little private network of two linux machines and want to know
> if is possible use grass5 on a computer  with data and location stored
> on the other computer of my network? (I have tried to mount filesystem
> where is my location with smbfs or nfs but I can not open the monitors
> or set region in this way). 
> Any Ideas

I think it would work if you install grass5 on the other machine and
used ssh while forwarding X to the machine your working from.  Not the
nicest solution, but GRASS uses lockfiles and unix sockets which don't
really work over a network.

I have a patch that changes where the unix sockets are placed 
(~/.grass5/com/, rather than <mapset>/.tmp/).  It might help with the 
unix sockets thing (since the sockets would stay local even if the data 
is remote), but this wouldn't solve the lockfile issue (though, that
may not be an issue if you have write permissions to the NFS share).

It might be sufficient to do the job, but I don't have an NFS setup to
test it.  If you're interested, I can tell you what to modify in the
source build tree to enable that (the code is already there, just not
built by default).

Eric G. Miller <egm2 at jps.net>

More information about the grass-user mailing list