read failed/No more processes

Sabuson George sgeorge "at" ti.com
Fri, 20 Mar 1998 00:47:08 +0000


Karl,

 Thanks. I didn't realize there were two occurances
of the piece of code in sockets.c. (guess I should
have used 'patch' instead of manually editing the
file).

 Anyway it helped, and is usable now. Prompt help
appreciated.

-- 
Sabuson George
mailto:sgeorge "at" ti.com

Karl Hakimian wrote:
> 
> On Thu, Mar 19, 1998 at 05:29:14PM -0600, Sabuson George wrote:
> > Was anyone able to solve the 'read failed' problem,
> > with 'No more processes' error message.
> >
> > I am trying on a hpux9.05 system. The server comes
> > up fine. I can query using xdpyinfo etc. However
> > when vncviewer is started, a window comes up and
> > vanishes instantly. The error message from the X.log
> > file is as follows. The result is the same if the
> > viewer is started on a different machine (win95).
> 
> I posted a patch a while ago that I think willhelp
> 
> -- Cut here for patch --
> *** hw/vnc/sockets.c.orig       Wed Jan 21 10:12:46 1998
> --- hw/vnc/sockets.c    Tue Mar  3 10:43:50 1998
> ***************
> *** 389,395 ****
>             exit(1);
> 
>         } else {
> !           if (errno != EWOULDBLOCK) {
>                 return n;
>             }
> 
> --- 389,395 ----
>             exit(1);
> 
>         } else {
> !           if (errno != EWOULDBLOCK && errno != EAGAIN) {
>                 return n;
>             }
> 
> -- Cut here for patch --
> 
> --
> Karl Hakimian
> hakimian "at" aha.com