Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-19-2006, 10:26 AM   #1
LQ Newbie
Registered: Aug 2006
Location: Oklahoma
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Help with TightVNC over SSH [Solved]

Hi All,

I'm having trouble forwarding a vnc session over ssh (putty).

Maybe someone here can help. I've googled about and read some howto's and think I have my setup right.

I have a debian etch server at my house and I want to see the desktop. I can connect to my server with ssh.
I have verified my desktop is up and running with fluxbox. I've installed tightvncserver and started it up

eddie@lodi:~$ tightvncserver

New 'X' desktop is lodi:1

Starting applications specified in /home/eddie/.vnc/xstartup
Log file is /home/eddie/.vnc/lodi:1.log

when I configured forwarding for putty I went to Connection/ssh/tunnels and under source port I put 5901 and destination I put localhost:5900 and then saved the new configuration. I reconnected with my new tunnels setup and logged in. I then fired up my tightvnc client and tried to connect to 'localhost:1' but it never connects!

The weird thing is that I don't get a 'failed to connect to server' error from putty like I would normally due to a misconfiguration.

Last edited by edthefox; 12-19-2006 at 11:22 AM. Reason: solved!
Old 12-19-2006, 11:21 AM   #2
LQ Newbie
Registered: Aug 2006
Location: Oklahoma
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
RE: Help with TightVNC over SSH [Solved]

nevermind, I fixed it myself by changing the source AND destination ports both to 5901.

Thanks anyway!!! ->


ssh tunnel

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
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
TightVNC and SSH metallica1973 Linux - Security 6 08-23-2006 12:18 PM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
tightvnc using ssh tunnelling curmudgeon42 Linux - Software 1 08-18-2004 09:40 PM
SSHvnc, tightVNC, SSH, and apache Apollo77 Linux - Software 19 01-06-2004 02:09 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 PM.

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