Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

2 router home network - VNC doesn't work from client laptop

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
noathustra
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Mon Sep 08, 2003 10:11 pm
Location: NYC

2 router home network - VNC doesn't work from client laptop

  • Quote

Post by noathustra » Thu Feb 23, 2006 3:12 pm

I would be most grateful if anyone can help me fix my weird network.

There are actually three routers that are connected, but only two have computer connections.

1. Router 1 is a Netgear router/print server and is connected to the WAN 192.168.0.1. Linux server is connected to this router as 192.168.0.9
2. Router 2 is a Linksys wireless router and is only used by the wireless laptop. It has IP 192.168.0.10. DHCP is not active on this router, rather DHCP is served by Router 1.
3. Router 3 is a Netgear/VOIP router for Vonage.

From the client laptop I am able to connect to the internet, print to the printer attached to the Router 1 print server. I can mount network drives from the Windows box attached to Router 1 but cannot open a VNC connection to that machine. The windows box on Router 1 can connect a VNC session to the laptop on Router 2.

The linux box on Router 1 uses ddclient and a free dns service to be available from the internet. I can ssh to the box using either its LAN or internet hostname. I have set up an ssh tunnel to tunnel VNC. The problem is VNC does not connect either locally or via the internet hostname.

Any ideas about the VNC problem? The error message is "The connection closed unexpectedly" and takes a while to pop up.
Top
LoDown
Apprentice
Apprentice
User avatar
Posts: 189
Joined: Tue Oct 26, 2004 3:18 am
Location: Louisville, Ky
Contact:
Contact LoDown
Website

  • Quote

Post by LoDown » Fri Feb 24, 2006 6:49 pm

are you able to connect from the client to the server via ssh? If so, then as long as you have the tunnel set up right, the problem is most likely misconfiguration of your vncserver. The port to forward is 5900+ DISPLAY#, so say you did

Code: Select all

 vncserver :64 
than you need to forward to port 5964, so your ssh command should be something like this:

Code: Select all

 ssh -L 5964:localhost:5964 user@server 
hope this helps...
Please remember to add [SOLVED] to your topic subject line when it is solved.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic