6

VNC through SSH with Windoze

view full story
linux-howto

http://forums.fedoraforum.org – Ok, I've been shaking my head these last few days trying to VNC into my Linux machine from my Windoze 7 machine using SSH. Here is what I've currently done so far: I have SSH configured using port 8567, and have opened the tcp port 8567 in my firewall. I am able to ssh into the linux machine using putty on windoze, and do anything on the command line just fine. Here is what I did with the VNC: I've installed VNC server with the command: yum install VNC-Server After this I went and edited the the /etc/sysconfig/vncservers file: VNCSERVERS=7:billygoat VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost Then I started the service vncserver :7 -localhost From what I gathered from other postings is that I don't have to open anymore ports for VNC in the firewall, because I'm going to "tunnel" using SSH and port 8567, that's what I needed to add localhost. Now I've set up putty for tunneling with the source port of 5901, and a destination port of localhost:5901. Ok, now when I connect, I can ssh just fine, log in and navigate through all my files. However when I start Real VNC and type in localhost:1, and click connect, I always get the error message: The connection closed unexpectedly. Do you wish to attempt to reconnect to localhost:1? Help for the Fedora experts are greatly welcomed as ever. -Your Humble Fedora User (HowTos)