LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Help with TightVNC over SSH (https://www.linuxquestions.org/questions/linux-networking-3/help-with-tightvnc-over-ssh-511945/)

edthefox 12-19-2006 10:26 AM

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

Code:

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

eddie@lodi:~$

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.

edthefox 12-19-2006 11:21 AM

RE: Help with TightVNC over SSH [Solved]
 
nevermind, I fixed it myself by changing the source AND destination ports both to 5901.

Thanks anyway!!! :study: -> :D


All times are GMT -5. The time now is 07:04 AM.