vinagre is showing my local desktop and not the remote desktop

NoOp glgxg at sbcglobal.net
Thu Sep 30 19:04:52 UTC 2010


On 09/29/2010 10:50 PM, scar wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> all, i am trying to connect to my remote computer (server) and view the
> desktop using vinagre, over an SSH tunnel.  both systems are running 10.04
> 
> on the server, i have run vino-preferences and allowed users to connect
> and control the computer, and i required a password.  the server is
> behind a firewall and the only port forwarded is for SSH.
> 
> on the client, in my ~/.ssh/config file i have the following:
> 
> host server
>         ForwardX11 yes
>         Hostname xxx.yyy.zzz.www
>         IdentityFile ~/.ssh/keypairs/scar.server
>         LocalForward 9999 localhost:5900
> 
> then, i use 'ssh server' to log in.  in vinagre, i connect using VNC
> protocol to "localhost:9999".  after several seconds i am asked for the
> VNC password.  after i enter it, my own desktop shows up in vinagre!
> very strange and rather alarming.  what the heck is going wrong?

I just tested from this machine to my laptop & this works for me:

====
$ ssh -C -X 192.168.4.102 -L 5900:192.168.4.102:5900 -l gl
gl at 192.168.4.102's password:
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 5900
Could not request local forwarding.
Linux gl-laptop 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:05:27 UTC
2010 x86_64 GNU/Linux
Ubuntu 10.04.1 LTS

Welcome to Ubuntu!
 * Documentation:  https://help.ubuntu.com/
gl at gl-laptop:~$ vinagre vnc://localhost:5900

that last opens vinagre & prompts for the password on the laptop, I
enter the password & off it goes. I also tested using tsclient & works
the same:
gl at gl-laptop:~$ tsclient vnc://localhost:5900
====

Vinagre has a reverse & ssh plugin. Unfortunately there doesn't seem to
be any documentation on how to use those... see:
https://bugs.launchpad.net/ubuntu/+source/vinagre/+bug/273298
https://bugzilla.gnome.org/show_bug.cgi?id=597110
http://library.gnome.org/users/vinagre/stable/using.html.en
[No mention of ssh or reverse]

This may be of further help:
http://ubuntuguide.org/wiki/Ubuntu:Lucid#Remote_Access
 http://ubuntuguide.org/wiki/Ubuntu:Lucid#Port_forwarding_through_SSH






More information about the ubuntu-users mailing list