Jump to content

Remote Login


Guest james123456
 Share

Recommended Posts

Guest james123456

Hi,

 

I am new to Linux. Installed it on my home machine a couple days ago, loving it so far.

 

Can anybody tell me if there is anythin similar to logmein that can be used in gnome-Mandriva? I want to work on my home pc from work. Usually i use logmein on windows environment.

 

If there is something similar, can you point me in the right direction of installing and using it?

 

Many thanks.

 

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

Guest james123456

Thanks alot theYinYeti.

 

The pc at work is windows xp and at home I have Mandriva.2009.Spring.1.

 

One question though from that tutorial, remote_ip_address refers to my home external or internal ipaddress?

 

Cheers.

Link to comment
Share on other sites

Example usage with SSH on “work†(using Cygwin for example), provided x11vnc is installed on “home†PC :

work$ ssh -f -t -L 5900:localhost:5900 home 'x11vnc -xdamage -xdamage -wait 100 -scale 2/3 -localhost -display :0'

Then run VNCViewer with encoding “tight†(or something else but not “rawâ€).

 

And if you have direct VNC access (with no need of an SSH tunnel), then you just have to let x11vnc run at “home†(there's an additional parameter for this) and neither cygwin nor ssh will be needed at “workâ€.

 

If you do need the SSH tunnel, there may be a more Windows-like way of creating this tunnel (without the need for the heavy Cygwin), but I'm neither aware nor interested in this…

 

Yves.

Edited by theYinYeti
Link to comment
Share on other sites

  • 1 month later...

First install PuTTY on your work computer and check that you can login

to your home machine using ssh:

http://www.chiark.greenend.org.uk/~sgtatham/putty/

 

Install tightvnc on your home machine and work machine:

http://www.tightvnc.com

 

On your home machine, run a vnc server. I use this:

vncserver -geometry 1010x740

Set the geometry to be a bit smaller than your work machine's screen.

You can run this remotely from work via a PuTTY login.

 

Use PuTTY to set up a ssh tunnel from port 5901 on the work machine to port 5901 on your home machine. From a Linux machine, I run this:

ssh -L 5901:localhost:5901 -C USERNAME@HOME-IP-ADDRESS -N

 

Now run vncviewer on your work machine and connect to port 5901: this will be tunnelled to port 5901 on your home machine, so you should be able to login and see the screen. From a Linux machine, I run this:

vncviewer -bgr233 -compresslevel 9 -encodings Tight  localhost::5901

 

I hope this helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...