FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-30-2010, 05:50 AM
scar
 
Default vinagre is showing my local desktop and not the remote desktop

-----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?

thanks

-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkykJT0ACgkQXhfCJNu98qBouACg2v12hNtU6K IWFpJjRg5Q1EH6
Tl0AoPoLygHC+P6TX0dOuoPUcw++ZgsE
=ZpsM
-----END PGP SIGNATURE-----


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-30-2010, 07:04 PM
NoOp
 
Default vinagre is showing my local desktop and not the remote desktop

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@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@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@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



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org