remote desktop problem
komputes at gmail.com
Fri Sep 18 20:32:58 UTC 2009
Patton Echols wrote:
> On 09/18/2009 12:44 PM, Cybe R. Wizard wrote:
>> On Fri, 18 Sep 2009 12:23:30 -0700
>> Patton Echols <p.echols at comcast.net> wrote:
>>> Second, in another thread someone said to be sure to turn off
>>> compiz. Ok, how do I do that? And then turn it back on? W/o
>>> breaking something?
>> Get the fusion-icon, at least for Hardy. Right click and choose your
>> manager from the list.
>> Cybe R. Wizard
> I will check that out.
> Is there a command line way to do it? If I don't know that I will need
> to access my desk computer I might not click the icon. What I'd like to
> be able to do is set up the ssh tunnel with port forwarding, from that
> command line, turn off compiz remotely, then start the VNC viewer. Is
> that possible?
First port forward port 22 to your computer using your router
administration web page.
Use OpenSSH to (-N) Keep the line alive/open, and bind (-L)
ssh -N -L 5900:192.168.0.4:5900 user at remote.ssh.host.com
In this case we will create a tunnels for vnc by logging into
remote.ssh.host.com as user. All requests to localhost:5900 will be
tunnelled through ssh to the remote host. Whenever a connection is made
to these ports, the connection will be forwarded over the secure ssh
tunnel. If you are using System > Preferences > Remote Desktop, your
repote computer will need to be logged into gnome to be able to log into it.
More information about the ubuntu-users