Help! win vncviewer and ssh hangs :(
Dan Fulbright
linux "at" fan.com
Tue, 25 Jan 2000 15:11:09 +0000
It looks like you are trying to run the viewer on the remote machine
(UnixHostName) rather than the local machine. Are you running ssh, then
running vncviewer in the shell that results? Keep in mind that the shell
that shows up after you run ssh is on the remote machine, not the local
one.
If that is your problem, here is the solution:
1) Start ssh in an xterm on your local machine.
2) In a new xterm, run vncviewer.
That works fine for me. However, I don't use ~/.ssh/config. I use
command-line options, and they work great. Here is the command line you
could use:
ssh -C -P -v -l UnixUser -L 5902:UnixHostName:5901
Some notes about command line options:
-C Use compression.
-P Use only non-privileged ports.
-v Be verbose.
-l UnixUser Log in as UnixUser on remote host (not necessary if your
username on the remote machine is the same as your local username).
-L 5902:UnixHostName:5901 The equivalent of the options from your
original message.
Then you can run "vncviewer localhost:2" on your local machine.
On Mon, 24 Jan 2000, David Morgan wrote:
> Hi-
>
> Using datafellows.com's ssh, I set up forwarding (since I don't think
> command line options work)
>
> Forwarded Connection option:
> source Port 5902
> destination host UnixHostName
> destination Port 5901
>
> I saved the conf.
> So I ssh in, and when I run "vncviewer localhost:2" , vncviewer does not
> start up, and the ssh terminal hangs.
>
> I've tried and tried.. any help would be GREAT!
>
> Thanks much!
> Have a GREAT day!
> Sincerely,
> David Morgan
> mailto:DavidMorgan "at" AllOne.com wdm "at" AllOne.com
> http://www.AllOne.com/wdm
> PGP Public Key: http://www.AllOne.com/wdm/pubkey
--
Dan Fulbright
linux "at" fan.com
---------------------------------------------------------------------
The VNC mailing list - see http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------