Click to See Complete Forum and Search --> : Unable to connect to VNC server on Windows?


carlos123
03-12-2003, 01:21 AM
I've looked through about 2 or 3 pages of threads and have not been able to find anything on how to solve the following....

I have a TightVNC server running on Windows 95. Installed perfectly. No problem.

I also installed TightVNC on my Linux box (Redhat 8.0). I can ping to my Windows 95 box just fine. No problem. But when I run "vncviewer" and after I enter the Windows 95 IP or name (either one) I get...

[carlos@localhost carlos]$ vncviewer
vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server
[carlos@localhost carlos]$

Now I can turn around and activate the vncviewer in listen mode like so...

vncviewer -listen

and then go to my Windows 95 CPU and add my Linux box as a New Client. When I come back to my Linux box I can then see and work on my Windows 95 CPU. No problem.

Only problem is I cannot active the viewing from my Linux box without physically going out to my Windows 95 computer (upstairs) and adding a New Client to it.

The same thing happens when I boot up with Gentoo Linux (on second hard drive of my Linux box).

My Linux and Windows computers are connected through a hub over Ethernet cables. The hub is also connected to another computer that I use as my firewall but I don't think that's the problem. Each computer can ping each other just fine.

Any suggestions?

Thanks.

Carlos

Icarus
03-12-2003, 10:56 AM
I'm using RealNVC on my Windows machines and from Linux all I need to do is "vncviewer" enter the IP and then the password and it's on...

I just VNC'd to my Linux machine at work and then from there VNC'd back to the Windows machine with no problems (besides a wacked out 'hall of mirrors' and it took me a minute to figure out which VNC to stop :)

Also I find it easier to connect from Linux if you don't use the number pad at all. It seems for some reason the 'Enter' key there stops the connect attempt...

carlos123
03-12-2003, 04:35 PM
Thanks mahdi. I will look into trying RealVNC and not using the number pad Enter key when I use vncviewer from Linux.

Carlos