LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-18-2003, 08:04 PM   #1
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Rep: Reputation: 31
Confused about TightVNC ports


I'm trying to get my Linux computer to show up on my Windows computer's monitor. But, to put it simply, it doen't work.

I type "vncserver :1" on my Linux machine, then I start an SSH connection with a tunnel so that 10.0.0.1:5901 (Linux) is forwarded to 10.0.0.2:5995 (Windows). I am not at all sure that 5995 is the correct port, but I read it someplace on the Internet.
After that, I go to the vncviewer and try to connect to 10.0.0.1:5901. For some reason it always fails to connect.

There is also another option in PuTTy that allows "X11 forwarding". I played with this feature a bit, but had no success.

What am I doing wrong?
 
Old 04-18-2003, 08:13 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
To start the VNCViewer, give it IP:session as in 10.0.0.1:1 and you should be promted for your password, then get your desktop. No need to ssh to the box first for VNC.

Unless you have some X emulator, you will get the redirected X on your WinDoze box from an SSH session. You can try StarNet or any of the other progs that will allow you to receive redirected X. You should also check your /etc/ssh/sshd_config file and make sure the line X11Forwarding yes is not commented out or set to no.

HTH!
 
Old 04-18-2003, 08:16 PM   #3
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Ooops! I meant:
Unless you have some X emulator, you will *NOT* get the redirected X on your WinDoze box from an SSH session. Sorry for the confusion!
 
Old 04-19-2003, 12:18 PM   #4
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
Hmmmm.... It still doesn't work. I don't know what else to try.
 
Old 04-19-2003, 12:32 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The reason you probably can't connect to 10.0.0.1:5901 is probbaly because you have a firewall running. When you use ssh you don't vnc to the remote host you vnc tothe local host.

Take a look at:
http://www.linuxquestions.org/questi...567#post129567
 
Old 04-19-2003, 07:02 PM   #6
Travis86
Member
 
Registered: Dec 2002
Location: The land of GMT -6
Distribution: OS X, PS2 Linux, Ubuntu, IRIX 6.5
Posts: 399

Original Poster
Rep: Reputation: 31
IT WAS THE FIREWALL. YAYYYYYYYYYYYYYYYYYYYYYYYYY!!!!



(I guss you can tell how long I've been working on this.)
 
  


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
tightvnc help greenmeanie Mandriva 5 12-12-2004 12:01 PM
TightVNC enzominator Linux - Newbie 6 08-25-2004 02:25 PM
Help with TightVNC McKnight Linux - Newbie 6 06-25-2004 02:30 PM
Tightvnc len Linux - Software 11 06-24-2003 05:31 PM
TightVNC jeffer Linux - Software 1 05-22-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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