LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-02-2004, 08:24 PM   #1
mcmanta
LQ Newbie
 
Registered: Apr 2004
Location: LI, New York
Distribution: Fedora Core 1
Posts: 7

Rep: Reputation: 0
VNC over SSH Question


Hello All,

I'm a super newbie and been messing around with Fedora core 1. I was looking to setup a secure vnc session. I can SSH to fedora with the firewall on or off and can connect through vnc with out SSH when the firewall is off.

I followed some instructions I found on LinuxQuestions.org on setting up VNC over SSH. I turned my Firewall back on and allowed SSH. Everything looks correct. I installed PUTTY setup tunnels on ports 5900 - localhost:5901.

Then I connect to the server using SSH enter username and password everything up to this point works fine.

Next I open VNC or Tight VNC and try to log in on localhost:1. I click ok. Then connection box disappears and I'm in limbo no password screen comes up nor do i receive an error message.

If I try connecting on localhost:2 i recive an error saying Failed to connect to server.

I have all my computers setup on a LAN with a small workgroup switch.


Thanks
 
Old 05-02-2004, 09:00 PM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try doing the SSH forwarding the other way around
in Putty SSH tunnels configurations, leave the checkbox on local, enter 5901 in source port, <vnc server>:5900 in destination.
Also double check that the VNC server is running on port 5900
 
Old 05-03-2004, 07:50 PM   #3
mcmanta
LQ Newbie
 
Registered: Apr 2004
Location: LI, New York
Distribution: Fedora Core 1
Posts: 7

Original Poster
Rep: Reputation: 0
thanks for the help. I changed PuTTy tunnel properties and I'm still not getting any response not even an error message. How can I check if vncserver is running on port 0?
 
Old 05-03-2004, 10:26 PM   #4
vapour-ifh-
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
Try allowing 580x ports as well. I think the connection is initiated on 5800 +display ports
 
Old 05-04-2004, 01:58 AM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
netstat -putlan
 
Old 05-06-2004, 02:59 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
btw if the vncviewer quits with no error message or response that sounds like a firewall problem.
 
  


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
VNC over SSH woranl Linux - Networking 1 05-25-2005 06:00 PM
SSH and VNC bandersen Linux - Newbie 5 03-29-2004 06:53 AM
vnc with ssh lawkh Linux - Newbie 1 02-10-2004 02:12 AM
ssh and VNC linuxnube Linux - Security 4 01-28-2004 11:12 PM
how to use vnc with ssh ? norikage Mandriva 9 08-30-2003 01:40 PM


All times are GMT -5. The time now is 12:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration