Making VNC server connection with multi-head Integraph workstation
Mac Cody
mcody "at" gar.esys.com
Wed, 17 Nov 1999 20:46:27 +0000
Now that I have DebugMode working on our Integraph workstation, I
can now concentrate on my original problem. We have a Integraph
TDZ 2000 workstation with four Multi RealiZm II VX 113-T graphics
cards installed. The workstation is running WinNT 4.0 SP 4.
When the display settings are adjusted to use only one of the
graphics cards (1280x1024 resolution), the Win VNC server runs fine
and VNC viewers from both UNIX and another WinNT workstation can
connect to it. If the display settings are adjusted to use all
four graphics cards (1280x1024 resolution per display, 2560x2048
resolution total), the Win VNC server will terminate connections
from WinNT and UNIX VNC viewers after the authorization sequence is
completed.
I set up DebugMode to 6 and DebugLevel to 12 to see if the was an
obvious explanation as to why the Win VNC server was shutting down
the VNC viewer connections. First, I performed a test with the
system set up for four displays. Below is the relevant debug
output:
Wed Nov 17 11:47:36 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 11:47:38 1999
C:\ORL\vss\winvnc\vncSockConnect.cpp : accepted connection from
200.1.1.8
C:\ORL\vss\winvnc\vncClient.cpp : vncClient() executing...
C:\ORL\vss\winvnc\vncClient.cpp : client connected : 200.1.1.8 (1)
C:\ORL\vss\winvnc\vncServer.cpp : AddClient() done
C:\ORL\vss\winvnc\WinVNC.cpp : message 1026 recieved
C:\ORL\vss\winvnc\vncClient.cpp : negotiated version
C:\ORL\vss\winvnc\vncPasswd.h : PASSWD : ToText called
C:\ORL\vss\winvnc\vncServer.cpp : verify succeeded - null filter
Wed Nov 17 11:47:41 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 11:47:46 1999
C:\ORL\vss\winvnc\vncClient.cpp : non-shared connection - disconnecting
old clients
C:\ORL\vss\winvnc\vncServer.cpp : KillAuthClients() done
C:\ORL\vss\winvnc\vncDesktop.cpp : initialising desktop handler
C:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close old
desktop
C:\ORL\vss\winvnc\vncDesktop.cpp : bitmap dimensions are 2560 x 2048
C:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close old
desktop
C:\ORL\vss\winvnc\VSocket.cpp : closing socket
C:\ORL\vss\winvnc\vncDesktop.cpp : killing screen server
C:\ORL\vss\winvnc\vncDesktop.cpp : failed to ReleaseDC
C:\ORL\vss\winvnc\vncServer.cpp : Authenticated() done
C:\ORL\vss\winvnc\WinVNC.cpp : message 1027 recieved
C:\ORL\vss\winvnc\vncServer.cpp : RemoveClient() done
C:\ORL\vss\winvnc\vncClient.cpp : ~vncClient() executing...
C:\ORL\vss\winvnc\vncClient.cpp : deleting socket
C:\ORL\vss\winvnc\WinVNC.cpp : message 1028 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 11:47:51 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 11:47:56 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Next, I performed a test with the system set up for one display.
Below is the relevant debug output:
Wed Nov 17 12:00:11 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 12:00:12 1999
C:\ORL\vss\winvnc\vncSockConnect.cpp : accepted connection from
200.1.1.8
C:\ORL\vss\winvnc\vncClient.cpp : vncClient() executing...
C:\ORL\vss\winvnc\vncClient.cpp : client connected : 200.1.1.8 (1)
C:\ORL\vss\winvnc\vncServer.cpp : AddClient() done
C:\ORL\vss\winvnc\WinVNC.cpp : message 1026 recieved
C:\ORL\vss\winvnc\vncClient.cpp : negotiated version
C:\ORL\vss\winvnc\vncPasswd.h : PASSWD : ToText called
C:\ORL\vss\winvnc\vncServer.cpp : verify succeeded - null filter
Wed Nov 17 12:00:16 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 12:00:20 1999
C:\ORL\vss\winvnc\vncClient.cpp : non-shared connection - disconnecting
old clients
C:\ORL\vss\winvnc\vncServer.cpp : KillAuthClients() done
C:\ORL\vss\winvnc\vncDesktop.cpp : initialising desktop handler
C:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close old
desktop
C:\ORL\vss\winvnc\vncDesktop.cpp : bitmap dimensions are 1280 x 1024
C:\ORL\vss\winvnc\vncDesktop.cpp : created memory bitmap
C:\ORL\vss\winvnc\vncDesktop.cpp : got bitmap format
C:\ORL\vss\winvnc\vncDesktop.cpp : DBG:display context has 1 planes!
C:\ORL\vss\winvnc\vncDesktop.cpp : DBG:memory context has 1 planes!
C:\ORL\vss\winvnc\vncBuffer.cpp : raw encoder requested
C:\ORL\vss\winvnc\vncEncoder.cpp : settranslatefunction called
C:\ORL\vss\winvnc\vncEncoder.cpp : only 8, 16 or 32 bits supported
remotely - 0 requested
C:\ORL\vss\winvnc\vncEncoder.cpp : settranslatefunction called
C:\ORL\vss\winvnc\vncEncoder.cpp : no translation required
C:\ORL\vss\winvnc\vncBuffer.cpp : local buffer=5242880, remote
buffer=5242892
C:\ORL\vss\winvnc\vncBuffer.cpp : local buffer=5242880, remote
buffer=5242892
C:\ORL\vss\winvnc\vncServer.cpp : Authenticated() done
C:\ORL\vss\winvnc\WinVNC.cpp : message 1027 recieved
C:\ORL\vss\winvnc\vncClient.cpp : authenticated connection
C:\ORL\vss\winvnc\vncClient.cpp : sent pixel format to client
C:\ORL\vss\winvnc\vncBuffer.cpp : SetClientFormat called
C:\ORL\vss\winvnc\vncEncoder.cpp : settranslatefunction called
C:\ORL\vss\winvnc\vncEncoder.cpp : no translation required
C:\ORL\vss\winvnc\vncBuffer.cpp : local buffer=5242880, remote
buffer=5242892
C:\ORL\vss\winvnc\vncBuffer.cpp : Hextile encoder requested
C:\ORL\vss\winvnc\vncEncoder.cpp : settranslatefunction called
C:\ORL\vss\winvnc\vncEncoder.cpp : only 8, 16 or 32 bits supported
remotely - 0 requested
C:\ORL\vss\winvnc\vncEncoder.cpp : settranslatefunction called
C:\ORL\vss\winvnc\vncEncoder.cpp : no translation required
C:\ORL\vss\winvnc\vncBuffer.cpp : local buffer=5242880, remote
buffer=5248157
C:\ORL\vss\winvnc\vncEncoder.cpp : remote palette data requested
C:\ORL\vss\winvnc\vncBuffer.cpp : clearing rectangle (0, 0)-(1280, 1024)
Wed Nov 17 12:00:21 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
Wed Nov 17 12:00:26 1999
C:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
C:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
C:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
I don't understand why there are two emissions of the message
"SelectHDESK failed to close old desktop" in the first test versus
one in the second test. I can see why the message is generated;
the viewer was not sharing the server and there was failure in the
attempt to close other desktops (there were none to close).
Thanks for any help in fixing this pecular problem.
Mac Cody
--
_________________________________________________________________
| | |
| Mac A. Cody | Principal Physics Engineer |
| Raytheon Systems Co., C3I | email: mcody "at" gar.esys.com |
| mail stop HA-36200 | phone: (972) 205-6452 |
| P.O. Box 660023 | or 1-800-752-6163 x6452 |
| Dallas, TX 75266 | fax : (972) 205-7180 |
|_______________________________|_________________________________|
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------