Help porting Xvnc to Cygwin...
"Beerse, Corné"
cbeerse "at" hiscom.nl
Tue Jun 18 09:10:05 2002
> -----Original Message-----
> From: Thomas Chadwick [mailto:j_tetazoo "at" hotmail.com]
>
> I've been trying to port Xvnc to get it to build under
> Cygwin. I've seen
> this done in the past, but the approach was to patch the
> cygwin mods into
> the Xvnc source. I've decided to take a different approach,
> which is to
> patch the Xvnc mods into the Xfree86 source (which already
> supports Cygwin).
Great!
>
> So far, I've gotten the necessary elements (Xvnc, libvncauth,
> and vncpasswd)
That's all you probably need, read on.
> to build relatively cleanly. I've even been able to launch
> the server using
> the vncserver script. It asks for a password and appears to
> run because the
> default xclients in the xstartup script (like xterm and twm)
> run without
Does it accept the xdmcp options (-broadcast, -query ..)? Then it will be a
great Xserver!
> complaint. However, when I try to start up the vncviewer on
> the same
> machine, it prompts for a password and I get the "Please wait
> - Initial
> Screen Loading" message, but after a few seconds Xvnc core
> dumps. Any ideas
> on what needs fixing?
There might be something like local looping which can cause a problem. Best
to use an other machine to run vncviewer.
Do you have the vncserver for M$Windows also running? That might cause a
problem if you run on display :0. Try to put one of them on :1 or any other
display number.
Keep in mind: the X protocol uses port (6000 + display) just as vnc uses
port (5900 + display). Are both ports free? or do you happen to have a
Xserver already running at your machine?
btw, I expect no firewalling running...
>
> I'm building and running on a ThinkPad with Windows 2000 and 256MB of
> memory. Here's what's in my log file:
>
> 17/06/02 Xvnc version 3.3.3r2
> 17/06/02 Copyright (C) AT&T Laboratories Cambridge.
> 17/06/02 All Rights Reserved.
> 17/06/02 See http://www.uk.research.att.com/vnc for
> information on VNC
> 17/06/02 Desktop name 'X' (tchadwic:1)
> 17/06/02 Protocol version supported 3.3
> 17/06/02 Listening for VNC connections on TCP port 5901
> 17/06/02 Listening for HTTP connections on TCP port 5801
> 17/06/02 URL http://tchadwic:5801
Does the webserver also run properly?
>
> 17/06/02 Got connection from client 9.61.127.19
Are you realy at IBM?
> 17/06/02 Protocol version 3.5
> 17/06/02 Ignoring minor version mismatch
> 17/06/02 Pixel format for client 9.61.127.19:
> 17/06/02 8 bpp, depth 8
> 17/06/02 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
> 17/06/02 no translation needed
> 17/06/02 Using hextile encoding for client 9.61.127.19
> 17/06/02 rfbProcessClientNormalMessage: ignoring unknown
> encoding type 3
> xterm: fatal IO error 32 (Broken pipe) or KillClient on X
> server ":1.0"
> X connection to :1.0 broken (explicit kill or server shutdown).
Sonds like you get a connection. Your log points me to loopback problems.
CBee.