Sunday, July 6, 2008

Connecting a Linux server from a windows client

There are two ways we can connect a linux machine from windows:

1. Using Putty to establish a ssh connection and exporting display using xmanager

2. Using VNC client to connect to vnc server running on linux machine.


I would describe both the methods as neatly as possible.

Putty+ Xmanager

1. Download "Xmanager" from this site.

http://www.netsarang.com/download/down_xme2.html

2. Install the Xmanager Enterprise 2.1 Build 0038 . In the serial
field type "evaluation".

3. Once installation is over, go to start -> all programs -> Xmanager
Enterprise -> xmanager-passive

4. Now run "putty.exe". Enter the IP of the ssh server you want to
connect. Click on connection -> ssh -> x11 on the left hand side bar
and on the right hand side click on "Enable X11 forwarding".


5. Now login to your ssh server and run any gui application.



VNC Server - client

1. Download realvnc viewer from this site. It would ask you to enter
user info. Don't enter anything and click on "proceed to download".

http://www.realvnc.com/products/free/4.1/winvncviewer.html

2. Download the following exe file and NOT the zipped one and put it on desktop.

VNC Free Edition Viewer for Windows
Stand-alone Viewer
Version 4.1.2

3. Double click on it. It would ask for Server. Enter following

your_vnc_server:1

4. Then it will ask for password only. Now enter the password provided to you.


5. Enter the password and you can the linux desktop.

Caution: First try to connect the vncserver from a linux desktop and make sure that it is working. Then only try from a windows machine.

No comments: