[winGRASS] Socket error in d.mon
Glynn Clements
glynn.clements at virgin.net
Tue Apr 23 17:03:23 EDT 2002
Quinton Hoole wrote:
> I just downloaded, installed and successfully got running the latest
> versions (I hope) of cygwin, XFree86, GRASS 5.0.0pre3 and TCLTKGRASS 3.2
> (full details at end of message).
>
> When I try to start a monitor, I get the following error:
>
> ================================
> GRASS:~/ > d.mon start=x1
> ERROR: In main.c: Couldn't get socket path.
AFAICT, this indicates that either:
1. It couldn't determine your username, using getpwuid(getuid())
2. The directory /tmp/grass-<username> doesn't exist, and it couldn't
create it.
3. /tmp/grass-<username> exists but it isn't a directory
4. /tmp/grass-<username> exists but attempting to set the permissions
(with chmod()) failed (e.g. because you don't own it).
Do you have an "/etc/passwd" file (Cygwin has a "mkpasswd" utitilty to
create it)? Does "whoami" work?
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-windows
mailing list