LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Confused about TightVNC ports (https://www.linuxquestions.org/questions/linux-networking-3/confused-about-tightvnc-ports-55747/)

Travis86 04-18-2003 07:04 PM

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?

TheOther1 04-18-2003 07:13 PM

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!

TheOther1 04-18-2003 07:16 PM

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!

Travis86 04-19-2003 11:18 AM

Hmmmm.... It still doesn't work. I don't know what else to try. :scratch:

david_ross 04-19-2003 11:32 AM

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

Travis86 04-19-2003 06:02 PM

IT WAS THE FIREWALL. YAYYYYYYYYYYYYYYYYYYYYYYYYY!!!!
:D :D :D :D :D :D :D :D


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


All times are GMT -5. The time now is 07:55 PM.