Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-15-2005, 05:08 AM
|
#1
|
Member
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67
Rep:
|
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
|
|
|
10-15-2005, 05:36 AM
|
#2
|
Senior Member
Registered: Aug 2005
Posts: 1,755
Rep:
|
Have your router route incoming port 590x to the corresponding port on one of the computers.
|
|
|
10-15-2005, 03:59 PM
|
#3
|
Member
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67
Original Poster
Rep:
|
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?
|
|
|
10-15-2005, 06:01 PM
|
#4
|
LQ Newbie
Registered: Oct 2005
Distribution: FC5
Posts: 4
Rep:
|
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?
|
|
|
10-18-2005, 06:27 PM
|
#5
|
Member
Registered: Jul 2004
Location: Oregon
Distribution: Fedora
Posts: 67
Original Poster
Rep:
|
any advice?
|
|
|
All times are GMT -5. The time now is 11:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|