LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-22-2006, 12:36 PM   #1
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Rep: Reputation: 30
trying to remote to vnc server through vnc client on XP.


Im trying to remote into my Ubuntu box from an Windows XP vnc client that sits on another network. The two networks have no relations, thus the request to connect to the Linux vncserver goes through the internet.

I have opened port 5900 and 5901 on my router to forward to the unix box. I have started the vncserver and have created a password to access it.

I am unable to connect to the linux box via vnc when entering my ip and port number with vnc viewer client in linux. Sometimes the error says connection times out, at other times it says connection refused.




I am wondering if in my router settings if I have two internal ip addresses set to listen to port 5900 and 5901 in the port forwarding table can that confuse the vnc client on the windows box which attempts to connect to the server.

I am asking this because ip address of linux box changed, so i have the old internal ip address and the new internal ipo in the port forwarding table to accept connections from port 5900 or 5901????

Last edited by Kilahchris; 11-22-2006 at 12:40 PM.
 
Old 11-22-2006, 12:49 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
The difference that I learned about Linux VNC is that it goes by :display numbers. You would need to tell your Windows XP VNC Client to connect to 192.168.1.2:#, for example.
 
Old 11-22-2006, 01:02 PM   #3
Kilahchris
Member
 
Registered: Jan 2003
Location: NY
Distribution: Suse 9.0
Posts: 202

Original Poster
Rep: Reputation: 30
XP VNC client is not on the same network. It needs the external ip address of the linux network.
 
Old 11-22-2006, 03:50 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
ip address:5900:# ????

Just a guess.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC over SSH. Windows client - Linux Server c_mitulescu Linux - Networking 30 05-20-2007 11:20 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
Need VNC server with Java client for Fedora dotancohen Linux - Software 2 01-22-2006 10:46 AM
DISCUSSION: VNC Server/Client Quickstart doublejoon LinuxAnswers Discussion 3 11-16-2005 12:10 PM
VNC Server (on Ubuntu) Client on Windows sim2k Linux - Networking 10 02-10-2005 03:22 AM


All times are GMT -5. The time now is 08:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration