[winGRASS] Socket error in d.mon

Quinton Hoole Quinton.Hoole at bigfoot.com
Wed Apr 24 01:34:13 EDT 2002


Thanks very much Glynn

That worked like a charm.

Q

-----Original Message-----
From: Glynn Clements [mailto:glynn.clements at virgin.net]
Sent: 23 April 2002 23:03
To: Quinton Hoole
Cc: winGRASS Mailing List
Subject: Re: [winGRASS] Socket error in d.mon



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