LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   VNC Viewer (https://www.linuxquestions.org/questions/linux-networking-3/vnc-viewer-317554/)

Magikx21 04-26-2005 11:31 PM

VNC Viewer
 
Ok I got a problem, I'm running Mandrake 10.1 on one computer and Windows Xp on the other they both run through a Linksys router and I want to connect to the Mandrake PC from the Windows PC. I'm running x0rfbserver on the Mandrake PC and I'm trying to view it using VNCViewer. Here is where the problem is though. When I try to connect using the network ip 192.168.1.xxx it works fine but when I try to connect using my IP it says connection failed. How can I fix this? I already forwarded the 5900 port.

ahwkong 04-27-2005 12:26 AM

Have you tried to vnc from an external IP ?

Some router seems to prevent connection to the public IP address of itself from the LAN side of the network...

Magikx21 04-27-2005 01:18 PM

I tried xonnecting from somewhere else and I stll get the same message

Magikx21 04-27-2005 11:08 PM

I got it working, I'm not sure how though. I forwarded all ports and it worked so I narrowed it down to the exact port. It was 5900 which I already had forwarded, somehow thoughit worked this time.

ahwkong 04-27-2005 11:51 PM

you can use netstat --tcp -n in linux to show what other ports are being used for the vnc connection to winxp pc. In my case, I found that port 5901 is also used.

If you forward all port to the winxp Pc, it is potentially dangerous....


All times are GMT -5. The time now is 05:15 PM.