Re: SSH and VNC ?
From: Koen (no_at_ssppaamm.com)
Date: 03/25/05
- Previous message: Andrew Schulman: "Re: Determine the corresponding DISPLAY"
- In reply to: Pierre Asselin: "Re: SSH and VNC ?"
- Next in thread: CyberSpiff: "Re: SSH and VNC ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Mar 2005 13:13:39 +0100
Pierre Asselin <xxxpa@see.signature.invalidxxx> wrote:
> Koen <no@ssppaamm.com> wrote:
>> Pierre Asselin <xxxpa@see.signature.invalidxxx> wrote:
>
>>> How do you connect without ssh ? I'll assume that on winmach you
>>> can open a vnc viewer to "linmach:0" .
>
>> I use a VNC viewer to linmach:1
>
>>> On winmach, start PuTTY. Fill in the info to connect to linmach.
>>> Find the "Tunnels" section and add a forward of port 5901 to
>>> localhost:5900 . Connect, login and type your password if
>>> necessary. Iconify the terminal window.
>
>> Should these numbers be changed for a :1 view?
>
> Yes. Forward port 5901 to localhost:5901 .
>
>>> Sanity check: still on winmach, start a command prompt and type
>>> "netstat | more". Make sure there is a LISTENING line for port
>>> 5901. Close the command prompt.
>
>> I don't see anything of a listening line for port 5901.
>> All I have is:
>> TCP winmach:4260 linmach:22 ESTABLISHED
>> TCP winmach:4263 linmach:22 ESTABLISHED
>
> D'oh. My mistake. Try "netstat -a | more" (I forgot the -a
> option).
>
> If you don't have anything LISTENING on winmach:5901, you
> don't have a tunnel.
>
>>> Still on winmach, run the vnc viewer to "localhost:1".
>
>> VNC Viewer : Error
>> unable to connect to host: Connection refused (10061)
>
> Which would indicate that you don't have your tunnel.
Hi again Pierre,
thanks for the help. I got it working now.
Koen
- Previous message: Andrew Schulman: "Re: Determine the corresponding DISPLAY"
- In reply to: Pierre Asselin: "Re: SSH and VNC ?"
- Next in thread: CyberSpiff: "Re: SSH and VNC ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|