Karl Heinz Kremer ()
Wed, 04 Mar 1998 08:07:10 +0100
Brett,
did you get a "... read failed" error message from the viewer?
If this is the case, then you are having the same problem I had
until half an hour ago... However, I did not see the "unknown
encoding type 3" message in the log file.
This is what I did:
I'm using SunOS4.1.3_U1 Rev. B (which should be pretty much the same
as 4.1.4) with X11R6.3 to compile the software. It is important to use
the X11R6 versions of xmkmf and imake, otherwise the make will choke on
the Xcomment lines in the makefiles.
Then I had add a missing "#include" statment in .../vnc/auth.c:
*** Xvnc/programs/Xserver/hw/vnc/auth.c Fri Feb 27 11:51:45 1998
--- Xvnc/programs/Xserver/hw/vnc/auth.c~ Wed Jan 21 19:12:44 1998
***************
*** 26,32 ****
#include <stdio.h>
#include <stdlib.h>
- #include <sys/types.h>
#include <netinet/in.h>
#include "windowstr.h"
#include "rfb.h"
--- 26,31 ----
With this change the server did compile, but gave me those read errors on
the client after a random amount of time (and of course I was lucky the first
time I run it, so I assumed that it's working...).
Karl Hakimian's patch for HPs did cure this problem. Here's the patch again:
-- 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 --
I used VNC for about 10 minutes (which is longer than it ever run
in the past on SunOS), so I'm pretty confident that it's working.
Let me know if it works for you,
Karl Heinz
-- Karl Heinz Kremer Kodak AG FAX: +49.7335.12 7271 Telephone: +49.7335.12 7673 KNET/KMX: 631 7673 PROFS: (KOKAG) K2080 Email: Private:
This archive was generated by on Wed Feb 03 1999 - 15:32:43 GMT