vnc via ssh port forwarding

Fred fma "at" doe.carleton.ca
Wed, 13 Mar 2002 09:13:36 +0000


This might be a dumb question, but did you start
up a server before trying to connect?  The
reason I ask is because the only time I ever got
that message is when I didn't have a server
running.

Fred
--------------------------------------------------------------------------
Fred Ma
Department of Electronics
Carleton University, Mackenzie Building
1125 Colonel By Drive
Ottawa, Ontario
Canada     K1S 5B6
fma "at" doe.carleton.ca
==========================================================================


> Date: Tue, 12 Mar 2002 12:22:42 +0100
> From: Robert Parusel <rp "at" infratec-plus.de>
> Subject: vnc via ssh port forwarding
>
> Hi,
>
> I'm trying to connect to a vncserver via ssh. To do that
> i start ssh -L ... on pc9
>
> pc9:/tftpboot/P2001 # ssh -L 5902:p2001:5901 p2001
> root "at" p2001's password: "mypassword"
>
> I get a prompt on p2001
> bash-2.05#
>
> Now I start vncviewer
>
> rp "at" pc9:~ > vncviewer localhost:2
> vncviewer: VNC server closed connection
>
> Now I get :
> bash-2.05# channel 3: open failed: administratively prohibited: open failed
> on the prompt of p2001
>
> and in /var/log/messages on p2001:
> Mar 12 11:47:18 192 auth.err sshd[207]: error: connect_to 192.168.18.180 port
> 5901: Invalid argument
> Mar 12 11:47:18 192 auth.err sshd[207]: error: connect_to p2001 port 5901:
> failed.
>
> There is no firewall installed nor ipsec, ipchains or so.
> ssh and vnc are running well as single tasks.
>
> Can anyone give me a hint what's going wrong! I'm searching now for a few
> days without any success.
>
> Thank's a lot
>     R.Parusel
>
> =============================================================
> Infratec-Plus
> Gesellschaft f|r innovative Datentechnik mbH
> Werner-von-Siemens-Strasse 7
> 64625 Bensheim
>
> R.Parusel / Tel: 06251/8405-460 /   mailto:rp "at" infratec-plus.de
> =============================================================
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------