Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Can't connect to Win98 from XP, other way is ok

Post Reply
Jabbe

Can't connect to Win98 from XP, other way is ok

Post by Jabbe »

I can run UVNC as a server on XP Home computer, with Win98 as viewer.
The other way around, with 98 as server and XP as viewer doesn't work.
Error message: Failed to connect to server!

Both computers are on my internal network, with 192.168.0.xxx

Can I get any clues in some log, or any ideas from here?

I run ver 1.5, it was similar problem on 1.4
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6838
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Did you check if XP has his internal firewall enable on the networkcard.
This is causing a lot of trouble for non MS products.
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

No XP firewall

Post by Jabbe »

No, the internal firewall is not active on this network card.
I use ZoneAlarm, where this local NT computer is trusted - no alarm is reported.

When I look at the NT system, the UVNC icon is light blue, but 'list all users' show nothing.
On XP, viewer tells me status is connected (at first). When I go to the black window on XP after a while, and try to send any key, it closes and disappears.

So obviously the connection is broken quite soon.

Are there any parameters I can try for format/encoding? Any logs that can indicate something?

(It is still working to run viewer from Win98, w NT as server.)
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

More info on XP-NT problem

Post by Jabbe »

I can now connect from XP to Win98, and from that window run Viewer to the NT Server!
Encoder to Win98 is ZRLE, from there to NT ZlibHex.
But I still can't connect directly from XP to NT.
(It says '.. initial reading screen..' and stays black.)

But I also have problems doing a direct network connection between NT and Xp, using shared folders. So the problem may be a XP-NT one.
xbx14
8
8
Posts: 21
Joined: 2004-05-04 05:22
Location: Brisbane, Australia
Contact:

Can't connect to Win98 from XP, other way is ok

Post by xbx14 »

You may just have a conflict with ZoneAlarm. I run a small home network with 3 computers behind a Netgear router. All could ping and UltraVNC each other, as server and viewer, except one stubborn Win98 machine would not respond to inbound pings. I had installed then removed ZoneAlarm over 2 years ago on this machine, but last night found it had left a few files in the registry, including a pesky file called "vsdata95.vxd" in the windows\system directory. It was very difficult to remove, but once I did, voila! I now have an all-pinging all-dancing all-UltraVNCing network.
Perhaps you should uninstall ZoneAlarm completely, then try the VNC.
If it works then, try reinstalling ZoneAlarm.
Good luck!
Guest

Post by Guest »

Thanks for your advice, but I fail to see how ZoneAlarm can be the problem. I have ZoneAlarm on XP and 98, not on NT. It is setup to allow all IPs in the internal network.
And in fact, Ultra VNC works from XP (viewer) to 98 (server). The problem is only from XP with NT as server.
And I can ping in all directions without problem.

In NT4 I have problems accessing shared folders on XP, and also vice versa. I can view the folders, but then it 'chokes'.

Maybe it can be too many protocols running on (my old) NT?
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Still stuck

Post by Jabbe »

It 's the same situation, can't connect from XP Home (Viewer) to NT4 (Server).

I started logging in VNCViewer (RC15, XP). The connection and password seems ok, at the end it shows:
Request full update
writing 10 bytes
writing 8 bytes
SendKeyEvent: key = xffe9 status = up ke.key=-369164288
writing 8 bytes
SendKeyEvent: key = xffe3 status = up ke.key=-469827584
writing 8 bytes
SendKeyEvent: key = xffe1 status = up ke.key=-503382016
writing 8 bytes
SendKeyEvent: key = xffea status = up ke.key=-352387072
writing 8 bytes
SendKeyEvent: key = xffe4 status = up ke.key=-453050368
writing 8 bytes
SendKeyEvent: key = xffe2 status = up ke.key=-486604800
writing 6 bytes
rdr::Exception (2): rdr::SystemException: read: Unknown error (10054)
Deregistered connection from app
Exiting
VNC viewer closing down

What can I do to come closer to a working connection?
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

(Server logging..)

Post by Jabbe »

Some part of server log file:
\sourceforge\ultravnc\winvnc\winvnc\vncdesktop.cpp : ### PixelsGrid 39 created !
Wed May 19 15:58:25 2004
JabbeWed May 19 15:59:12 2004
\sourceforge\ultravnc\winvnc\winvnc\vsocket.cpp : socket error 2: 10054
\sourceforge\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK to Default (20) from 20
\sourceforge\ultravnc\winvnc\winvnc\vncservice.cpp : SelectHDESK failed to close old desktop 20 (Err=170)
\sourceforge\ultravnc\winvnc\winvnc\vncclient.cpp : client disconnected : 192.168...
RobH
Former moderator
Former moderator
Posts: 113
Joined: 2004-05-03 18:04
Location: Chicago, IL

Post by RobH »

Use version 11.0d and all these problems go away.
I connect to Win98 form XP, 2000, NT with no issues.
cerb

problems with NT

Post by cerb »

I can confirm that I too have problems connecting an NT 4.0 UVNC Viewer (RC 14) to an XP machine running UVNC server (RC14) and ZoneAlarm.

I tried everything, but simply does not work. The connection cannot be established. (And yes ZoneAlarm is set to let UVNC traffic pass).
Once ZoneAlarm is switched off, the connection establishes 100% perfectly with no problems. If I restart ZoneAlarm while remote controlling the other machine, the connection immediately stops/disappears.

I have NO problem at all connecting from a different PC with win98 Viewer Rc14 to the same XP server running the same UVNC server RC14 and the same Zonealarm (unning).
So the problem ONLY affects the combination NT->XP

The problem was NOT present in previous versions (11d) of UVNC, so should be a recent bug.
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Pbm XP-NT

Post by Jabbe »

Thanks for the propsals.
I have now gone back to ver 11d, but the problem seems to be the same.

Extract from log (in NT system):
...
vncproperties.cpp : loading DEFAULT local settings
vncproperties.cpp : loading "Jabbe" global settings
vncsockconnect.cpp : accepted connection from 192.168.0.105
vncclient.cpp : vncClient() executing...
vncserver.cpp : AddClient() done
vncclient.cpp : client connected : 192.168.0.105 (1)
vncclient.cpp : DSMPlugin Pointer to socket OK
vncclient.cpp : negotiated version
vncPasswd.h : PASSWD : ToText called
vncdesktop.cpp : initialising desktop handler
vncdesktop.cpp : KillScreenSaver...
vncdesktop.cpp : No driver used
vncdesktop.cpp : bitmap dimensions are 640 x 480
vncdesktop.cpp : created memory bitmap
vncdesktop.cpp : got bitmap format
...
vncEncodeMgr.h : request client buffer[630732]
vncclient.cpp : ZRLE found
vncclient.cpp : Tight found
...
tableinitcmtemplate.cpp : Using video Palette
tableinitcmtemplate.cpp : got 0 palette entries
tableinitcmtemplate.cpp : rfbInitColourMapSingleTable done
vncdesktop.cpp : ### PixelsGrid 0 created !
vncdesktop.cpp : ### PixelsGrid 1 created !
...
### PixelsGrid 39 created !
vncEncodeZlibHex.cpp : calling deflateInit2 with zlib level:6
vncEncodeZlibHex.cpp : calling deflateInit2 with zlib level:6
vsocket.cpp : socket error 2: 10054
\vncservice.cpp : SelectHDESK to Default (20) from 20
vncservice.cpp : SelectHDESK failedto close old desktop 20 (Err=170)
vncclient.cpp : client disconnected : 192.168.0.105 (1)
vncclient.cpp : disable update thread
vncclient.cpp : enable/disable synced
vncclient.cpp : kill update thread
vncclient.cpp : stopping update thread
client sent 2 updates
vncclient.cpp : update thread gone
...

At the beginning it seems ok to me, login pwd seems ok, but later something goes wrong, and the session is closed.

I also have a problem connecting XP and NT shared folders.
At this time ZoneAlarm was stopped.

Any more ideas how to locate the problem?
RobH
Former moderator
Former moderator
Posts: 113
Joined: 2004-05-03 18:04
Location: Chicago, IL

Post by RobH »

Not sure if this will help but I have had issues with XP machines running the XP Theme.
Can you switch the XP machines theme to Windows Classic and try it? Just something to test.

Also, are you running the correct video driver?
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Post by Jabbe »

Correct video driver :?
How do I know if I have that?
Is it a video driver for NT needed? In viewer (on XP) or server (on NT) ?
Guest

Post by Guest »

11.0d has a different video driver (it's in the zip file) than say versions 14, 15, 16.
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Post by Jabbe »

.. and .. ?

Should I do anything special for this?
I have uninstalled rc15, reinstalled 11d.
(I installed 11d from the very beginning, and had the same problem from the start.)

I haven't noticed that I should have to do any special installation of video drivers.

Please correct me, if I missed anything!
Guest

Post by Guest »

Hmmm if you are back to using 11.0d, did you run setupdrv.exe?
This installs the video driver for 11.0d.

Also, have you tried removing everything from the registry so you have a clean machine?
Be careful with the registry though.
export the whole thing to .reg file first. :wink:
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Post by Jabbe »

setupdrv ?
Should I run it on viewer or server? (I guess server, but it is required for NT4?)

And what keys in the registry should be removed?
I have some keys from RealVNC, TightVNC, UltraVNC.
They were all uninstalled, but obviously they don't tidy up the registry afterwards.

What keys are vital for UltraVNC, and might cause trouble if not correct?
(I just found some information in FAQ about the registry.)

But is there any explanation available of when and where setupdrv is needed?
Jabbe
8
8
Posts: 9
Joined: 2004-05-05 09:32

Still black screen watching NT from XP

Post by Jabbe »

I can't find any solution, it is still the same. I connect from XP to an NT UVNC server, and the screen remains black.
I can connect from Win98 to the same NT machine without problem. I can also connect from XP to Win98, and vice versa.
I guess NT and XP just don't like each other?
(There are also problems connecting to files over the network between the same machines.)

Any hints of what to try, where to look, anyone? :|
Post Reply