LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2005, 05:08 AM   #1
joeman3429
Member
 
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67

Rep: Reputation: 15
Real VNC. Unable to connect


Hello,
today I discovered real vnc. I love it!
Anywho, here's my setup

Belkin Wireles router
2 computers behind the router. 1 Xp, 1 Fedora
VNC Server Free Edition 4.1.1 on both

I can connect to one computer from the other by typing into the Veiwer connection screen:

192.168.2.2:0
or
192.168.2.4:0

But, I do not understand how to connect from coputers outside my network. I've gone to whatismyip.com and gotten my external IP and typed things like:

<my ip>:5900

<my ip>:5902

into the connection window. Thats how I thought it was supposed to work, but I must be mistaken.

Can anybody show me how to make this work? I searched throught the mailing list on the real vnc website, but found nothing that worked for me.

Its 3:00AM and I'm sleepy. Thanks for any replies. I'm going to bed
 
Old 10-15-2005, 05:36 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Have your router route incoming port 590x to the corresponding port on one of the computers.
 
Old 10-15-2005, 03:59 PM   #3
joeman3429
Member
 
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67

Original Poster
Rep: Reputation: 15
Ok, I went into my router settings and added this on my virtual server page:

Enable: Yes

Description: VNC

Inbound port: 5900-5909

Type: TCP

Private IP address:192.168.2.3

Private port: 5900-5909

I guess I just don't understand what I'm doing because I type

<my ip>:0

And I get this error: Unable to connect to host: connection refused (10061)

Any advice?
 
Old 10-15-2005, 06:01 PM   #4
diggerb
LQ Newbie
 
Registered: Oct 2005
Distribution: FC5
Posts: 4

Rep: Reputation: 0
I am having the same issue with Fedora Core 4, over the web. I only have the one PC at home right now, so I can't test it on the internal network. I am a bit of a Linux noob so bear with me...

I know vncserver *is* running, as you can see below:

# ps ax |grep vnc
3055 ? S 0:00 Xvnc :1 -desktop localhost.localdomain:1 (root) -http
d /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1024x768 -depth 16 -r
fbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -pn



My router is set to send port 5901 directly to the machine, but it is still refusing the connection.

Here is my xstartup file, which seems to execute without a hitch:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &




On the install, I asked for no firewall, but what can I check with the commandline to make sure that this is true?

It is not a general network issue because I can SSH to the box and access the HTTP server remotely without any difficulty, and my current client machine can access other VNC servers both on the internal network and over the web.

Any ideas on what else might be worth checking?
 
Old 10-18-2005, 06:27 PM   #5
joeman3429
Member
 
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67

Original Poster
Rep: Reputation: 15
any advice?
 
  


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
Cannot Remove Real VNC poochdog Linux - Software 1 09-02-2005 03:48 PM
Real VNC COKE CAN Debian 2 08-03-2005 11:06 AM
Unable to connect VNC client puneetloiya Linux - Networking 5 04-28-2005 11:59 PM
REAL VNC X desktop problem rmanocha Linux - Software 4 12-13-2003 08:28 AM
unable to connect to server thru vnc... marvc Linux - Software 0 05-25-2003 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration