Question : Problem: VNC Disconnecting

I have Tight VNC installed on a workstation and it disconnects after a few seconds. I installed Real VNC with the same results. I can telnet into the two prts. I reviewed the log and downloaded and installed this http://www.demoforge.com/dfmirage.htm
with the same result. I have other pc's that i can VNC into. I can rdp into the workstation with no issues. there is no firewall. any help?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
Wed Feb 25 10:04:48 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:04:53 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:04:58 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:03 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:08 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:13 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:18 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:23 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:28 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:33 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:38 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:41 2009
vncSockConnect.cpp:	accepted connection from 10.40.56.97
vncClient.cpp:	vncClient() executing...
Wed Feb 25 10:05:42 2009
WinVNC.cpp:	message 1026 received
vncServer.cpp:	AddClient() done
vncClient.cpp:	client connected : 10.40.56.97 (id 11)
vncClient.cpp:	negotiated protocol version, RFB 3.8
vncClient.cpp:	performing VNC authentication
i:\svn\tightvnc-1.3\vnc_winsrc\winvnc\vncPasswd.h:	PASSWD : ToText called
i:\svn\tightvnc-1.3\vnc_winsrc\winvnc\vncPasswd.h:	PASSWD : ToText called
Wed Feb 25 10:05:43 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:05:44 2009
WinVNC.cpp:	message 1029 received
vncDesktop.cpp:	initialising desktop server
TsSessions.cpp:	Console session is 4WallpaperUtils.cpp:	KillActiveDesktop
WallpaperUtils.cpp:	Active Desktop not enabled - ignoring
Wed Feb 25 10:05:47 2009
WinVNC.cpp:	message 49343 received
WinVNC.cpp:	message 49353 received
Wed Feb 25 10:05:48 2009
WinVNC.cpp:	message 275 received
Wed Feb 25 10:05:50 2009
vncDesktop.cpp:	KillScreenSaver...
vncDesktop.cpp:	SCR-WBB: current display: w=1024 h=768 bpp=32 vRfrsh=75.
VideoDriver.cpp:	No 'Mirage Driver' or 'DemoForge Mirage Driver' found.
VideoDriver.cpp:	vncVideoDriver::CheckVersion: can't create DC on ""
vncDesktop.cpp:	******** PLEASE INSTALL NEWER VERSION OF MIRAGE DRIVER! ********
VideoDriver.cpp:	vncVideoDriver::MapSharedbuffers: can't create DC on ""
VideoDriver.cpp:	vncVideoDriver::UnMapSharedbuffers failed. unmapping manually
VideoDriver.cpp:	No 'Mirage Driver' or 'DemoForge Mirage Driver' found.
vncDesktop.cpp:	failed to activate video driver interface
vncDesktop.cpp:	source desktop metrics: (0, 0, 1024, 768)
vncDesktop.cpp:	bitmap dimensions are 1024x768
vncDesktop.cpp:	created memory bitmap
vncDesktop.cpp:	got bitmap format
vncDesktop.cpp:	DBG:display context has 1 planes!
vncDesktop.cpp:	DBG:memory context has 1 planes!
vncDesktop.cpp:	attempting to create main and back buffers
vncDesktop.cpp:	enabled fast DIBsection blits OK
vncDesktop.cpp:	DBG:true-color desktop in SetPixShifts()
vncDesktop.cpp:	no palette data for truecolour display
vncBuffer.cpp:	raw encoder requested
vncEncoder.cpp:	SetTranslateFunction called
vncEncoder.cpp:	no translation required
vncBuffer.cpp:	local buffer=3145728, remote buffer=3145740
vncBuffer.cpp:	local buffer=3145728, remote buffer=3145740
vncServer.cpp:	Authenticated() done
vncClient.cpp:	authenticated connection
vncClient.cpp:	sent pixel format to client
vncBuffer.cpp:	SetClientFormat called
vncEncoder.cpp:	SetTranslateFunction called
vncEncoder.cpp:	triple LUT used
vncBuffer.cpp:	local buffer=3145728, remote buffer=1572876
vncClient.cpp:	Full-color cursor shape updates enabled
vncClient.cpp:	NewFBSize protocol extension enabled
vncEncoder.cpp:	Raw encoder stats: data=0, overhead=0, encoded=0, sent=0
vncBuffer.cpp:	unknown encoder requested
vncBuffer.cpp:	Hextile encoder requested
vncEncoder.cpp:	SetTranslateFunction called
vncEncoder.cpp:	triple LUT used
vncBuffer.cpp:	local buffer=3145728, remote buffer=1576061
Wed Feb 25 10:05:51 2009
vncEncoder.cpp:	remote palette data requested
Wed Feb 25 10:05:54 2009
WinVNC.cpp:	message 49343 received
WinVNC.cpp:	message 1027 received
Wed Feb 25 10:05:56 2009
vncService.cpp:	unable to open desktop, error=0
vncService.cpp:	SelectHDESK() to Default (2c) from 2c
vncService.cpp:	SelectHDESK failed to close old desktop 2c, error=170
vncClient.cpp:	client disconnected : 10.40.56.97 (id 11)
vncServer.cpp:	removing authorised client
vncServer.cpp:	deleting desktop server
vncDesktop.cpp:	killing desktop server
vncDesktop.cpp:	quitting desktop server thread
vncService.cpp:	SelectHDESK() to Default (2c) from 2c
vncService.cpp:	SelectHDESK failed to close old desktop 2c, error=170
vncServer.cpp:	RemoveClient() done
vncClient.cpp:	~vncClient() executing...
vncClient.cpp:	deleting socket
VSocket.cpp:	closing socket
vncClient.cpp:	deleting buffer
vncEncoder.cpp:	Hextile encoder stats: data=1576960, overhead=36, encoded=1176261, sent=1176297
vncEncoder.cpp:	Hextile encoder efficiency: 25.407%
vncMenu.cpp:	tray icon updated ok
WinVNC.cpp:	message 795 received
WinVNC.cpp:	message 795 received
WinVNC.cpp:	message 794 received
WinVNC.cpp:	message 794 received
WinVNC.cpp:	message 49353 received
Wed Feb 25 10:05:58 2009
WinVNC.cpp:	message 1028 received
vncMenu.cpp:	tray icon updated ok
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:06:03 2009
vncSockConnect.cpp:	accepted connection from 10.40.56.146
vncClient.cpp:	vncClient() executing...
vncServer.cpp:	AddClient() done
WinVNC.cpp:	message 1026 received
vncClient.cpp:	client connected : 10.40.56.146 (id 11)
vncClient.cpp:	negotiated protocol version, RFB 3.8
vncClient.cpp:	performing VNC authentication
i:\svn\tightvnc-1.3\vnc_winsrc\winvnc\vncPasswd.h:	PASSWD : ToText called
i:\svn\tightvnc-1.3\vnc_winsrc\winvnc\vncPasswd.h:	PASSWD : ToText called
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:06:05 2009
vncDesktop.cpp:	initialising desktop server
WinVNC.cpp:	message 1029 received
WallpaperUtils.cpp:	KillActiveDesktop
vncDesktop.cpp:	KillScreenSaver...
vncDesktop.cpp:	SCR-WBB: current display: w=1024 h=768 bpp=32 vRfrsh=75.
vncService.cpp:	unable to open desktop, error=2
vncService.cpp:	SelectHDESK() to Default (2c) from 2c
vncService.cpp:	SelectHDESK failed to close old desktop 2c, error=170
vncServer.cpp:	failed to initialize desktop object
VSocket.cpp:	closing socket
vncDesktop.cpp:	killing desktop server
vncServer.cpp:	Authenticated() done
vncServer.cpp:	RemoveClient() done
vncClient.cpp:	~vncClient() executing...
vncClient.cpp:	deleting socket
WallpaperUtils.cpp:	Active Desktop not enabled - ignoring
WinVNC.cpp:	message 1027 received
vncMenu.cpp:	tray icon updated ok
WinVNC.cpp:	message 1028 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:06:08 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:06:13 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Wed Feb 25 10:06:18 2009
WinVNC.cpp:	message 275 received
vncMenu.cpp:	tray icon updated ok
Open in New Window Select All

Answer : Problem: VNC Disconnecting

This is likely to be caused by the active console not being the original.  If you have secondary logins enabled, make sure all accounts are logged out before logging in again & then test.

The other typical reason for this scenario (though unlikley given your symptoms) is that secondary logins are enabled and the screen saver is set to put the user back to the login screen.
Random Solutions  
 
programming4us programming4us