Hi,

        I have a similar problem but its origin seems to be the end of
        the previous session:
...
D:\ORL\vss\winvnc\vncKeymap.cpp : IsWinNT in keymap
D:\ORL\vss\winvnc\vncKeymap.cpp : keysym = ffe9 (up)
D:\ORL\vss\winvnc\vncKeymap.cpp : IsWinNT in keymap

Thu Jan 24 09:42:48 2002
D:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
D:\ORL\vss\winvnc\vncMenu.cpp : tray icon added ok

Thu Jan 24 09:42:50 2002
D:\ORL\vss\winvnc\VSocket.cpp : zero bytes read
D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK to Default (1c) from 1c
D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close old desktop
1c (Err=170)
D:\ORL\vss\winvnc\vncClient.cpp : client disconnected : 129.2.2.210 (1)
D:\ORL\vss\winvnc\vncServer.cpp : removing authorised client
D:\ORL\vss\winvnc\vncServer.cpp : deleting desktop server
D:\ORL\vss\winvnc\vncDesktop.cpp : killing screen server
D:\ORL\vss\winvnc\vncDesktop.cpp : quitting desktop server thread
D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK to Default (1c) from 1c
D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close old desktop
1c (Err=170)
D:\ORL\vss\winvnc\vncServer.cpp : RemoveClient() done
D:\ORL\vss\winvnc\vncClient.cpp : ~vncClient() executing...
D:\ORL\vss\winvnc\vncClient.cpp : deleting socket
D:\ORL\vss\winvnc\VSocket.cpp : closing socket
D:\ORL\vss\winvnc\vncClient.cpp : deleting buffer
D:\ORL\vss\winvnc\WinVNC.cpp : message 1028 recieved
D:\ORL\vss\winvnc\vncMenu.cpp : tray icon added ok

        then all following connections are rejected (same as in your log).
        This server (NT4) was working before and stopped without any
        explanation. I have another server with this problem (W2K)
        and a lot without (W2K and NT4).

        The failing function in the source code is:

vncService::SelectHDESK(HDESK new_desktop)
   ...
   if (!CloseDesktop(old_desktop))
      log.Print(LL_INTERR, VNCLOG("SelectHDESK failed to close old desktop
%x (Err=%d)\n"), old_desktop, GetLastError());

        Error 170 means 'The requested resource is in use.' In Microsoft
        manuals they say:

The CloseDesktop function will fail if any thread in the calling process is
using the specified desktop handle or if the handle refers to the initial
desktop of the calling process

        Does anyone have an explanation?

        Regards,
        Pierre

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of crackjack
> Sent: jeudi 24 janvier 2002 21:58
> To: [EMAIL PROTECTED]
> Subject: Connection closed
>
>
> I get this all the time i want to logon to my P150
> I just installed winvnc-server on it and it has approximately all standard
> values
> only 192.168.0.* is allowed and must be confirmed on the server
>
> here is a piece of the logfile where the trouble is
>
> The password is correct (as you can see in the log)
>
> if anyone knows a solution..
> BTW: i know its a crappy pc but a friend of me has it running
> smoothly on a
> P133
>
> ------------------------------------------------------------------
> -----------
> ----------
> Thu Jan 24 21:22:03 2002
> D:\ORL\vss\winvnc\vncSockConnect.cpp : accepted connection from
> 192.168.0.160
> D:\ORL\vss\winvnc\vncClient.cpp : vncClient() executing...
> D:\ORL\vss\winvnc\WinVNC.cpp : message 1026 recieved
> D:\ORL\vss\winvnc\vncServer.cpp : AddClient() done
> D:\ORL\vss\winvnc\vncClient.cpp : client connected : 192.168.0.160 (1)
> D:\ORL\vss\winvnc\vncClient.cpp : negotiated version
> D:\ORL\vss\winvnc\vncPasswd.h : PASSWD : ToText called
> Thu Jan 24 21:22:05 2002
> D:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
> D:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
> D:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
> Thu Jan 24 21:22:10 2002
> D:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
> D:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
> D:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
> Thu Jan 24 21:22:15 2002
> D:\ORL\vss\winvnc\WinVNC.cpp : message 275 recieved
> D:\ORL\vss\winvnc\vncClient.cpp : non-shared connection -
> disconnecting old
> clients
> D:\ORL\vss\winvnc\vncServer.cpp : KillAuthClients() done
> D:\ORL\vss\winvnc\vncDesktop.cpp : initialising desktop handler
> D:\ORL\vss\winvnc\vncDesktop.cpp : KillScreenSaver...
> D:\ORL\vss\winvnc\vncDesktop.cpp : bitmap dimensions are 640 x 480
> D:\ORL\vss\winvnc\vncDesktop.cpp : created memory bitmap
> D:\ORL\vss\winvnc\vncDesktop.cpp : got bitmap format
> D:\ORL\vss\winvnc\vncDesktop.cpp : DBG:display context has 1 planes!
> D:\ORL\vss\winvnc\vncDesktop.cpp : DBG:memory context has 1 planes!
> D:\ORL\vss\winvnc\vncDesktop.cpp : DBG:used/bits/planes/comp/size =
> 0/4/1/0/153600
> D:\ORL\vss\winvnc\vncDesktop.cpp : attempting to enable DIBsection blits
> D:\ORL\vss\winvnc\vncDesktop.cpp : unable to enable fast blits
> D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK to Default (40) from
> 40D:\ORL\vss\winvnc\vncService.cpp : SelectHDESK failed to close
> old desktop
> 40 (Err=170)
> D:\ORL\vss\winvnc\VSocket.cpp : closing socket
> D:\ORL\vss\winvnc\vncDesktop.cpp : killing screen server
> D:\ORL\vss\winvnc\vncDesktop.cpp : failed to ReleaseDC
> D:\ORL\vss\winvnc\vncServer.cpp : Authenticated() done
> D:\ORL\vss\winvnc\vncServer.cpp : RemoveClient() done
> D:\ORL\vss\winvnc\vncClient.cpp : ~vncClient() executing...
> D:\ORL\vss\winvnc\vncClient.cpp : deleting socket
> D:\ORL\vss\winvnc\WinVNC.cpp : message 84 recieved
> D:\ORL\vss\winvnc\vncMenu.cpp : usernames : old="", new=""
> D:\ORL\vss\winvnc\WinVNC.cpp : message 1027 recieved
> D:\ORL\vss\winvnc\WinVNC.cpp : message 1028 recieved
> Thu Jan 24 21:22:20 2002
>
>
> ------------------------------------------------------------------
> -----------
> -------------------------
> ---------------------------------------------------------------------
> To unsubscribe, mail [EMAIL PROTECTED] with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to