LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2006, 11:07 AM   #1
purplehaze5775
LQ Newbie
 
Registered: Sep 2006
Posts: 1

Rep: Reputation: 0
How to use VNC to log into Linux PC from a Windows PC using SSH


I have been asked how to use vnc to log into a Linux machine from a Windows machine using SSH and I have no clue what to do or how to begin. I also need to know which ports on the firewall need to be open and what services I will need to activate to do this. Can anyone help me with this soon? Thanks
 
Old 11-19-2006, 04:35 PM   #2
randyding
Member
 
Registered: May 2004
Posts: 552

Rep: Reputation: 31
I think the windows program PuTTY can be used as your client. It has to be configured to tunnel port 5900+(display#) where display# is usually 1 for the first client, 2 for the second, etc.
There are two different directions when setting up the tunnel, you want to do it where the local windows side accepts the connection as a server, not the other way around. See PuTTY documentation on this because I don't have a windows computer to test it.

Then when ssh is connected from windows to linux, run the vnc client and connect to the vnc server on localhost:5901 and it will be tunneled to the linux computer.
 
  


Reply



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 connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
VNC over SSH. Windows client - Linux Server c_mitulescu Linux - Networking 30 05-20-2007 11:20 PM
windows vnc client and linux vnc server problem tungaw2001 Linux - Software 8 06-17-2006 12:06 AM
Want to use ssh/vnc with linux. zozoman Linux - General 3 10-28-2005 08:36 PM
how do you get X-windows when you log on though ssh? digital bots Slackware 11 09-16-2003 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:30 AM.

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
Open Source Consulting | Domain Registration