--- gpm-1.20.3/src/daemon/startup.c.close-fds 2008-05-28 13:18:59.000000000 +0200 +++ gpm-1.20.3/src/daemon/startup.c 2008-05-28 13:20:13.000000000 +0200 @@ -143,6 +143,10 @@ void startup(int argc, char **argv) * remove and ignore it ?? FIXME */ if (chdir("/") < 0) gpm_report(GPM_PR_OOPS,GPM_MESS_CHDIR_FAILED); + // close extra fds + close(0); + close(1); + close(2); //return mouse_table[1].fd; /* the second is handled in the main() */