Access Linux From Windows XP / Vista / 7 Systems

Posted on in Categories , , , , , , last updated December 17, 2009

How do I access Linux from Windows Vista or XP or 7 operating systems?

Windows and Linux are different operating system but both can talk to each other using TCP/IP networking and special software program such as Samba. Samba is used for sharing files and printers with Linux and vise versa. Following list summaries the application name which you can use to access Your Linux server/system from Windows system.

Linux Command line access from Windows XP / vista / 7

You need to use special program called PuTTY. It is a free SSH, Telnet, rlogin, and raw TCP client for Windows system.

Step # 1: Download putty

Download putty.exe from greenend.org.uk. Save putty.exe file on your desktop.

Step #2: How do I use putty?

Linux (UNIX) runs special program/service called Secure Shell (SSH) which is designed for logging into system and executing commands on a networked computer. By default ssh server runs on all Linux server. You just need to use putty.exe to connect Linux server from Windows XP.

(a) Double click on putty.exe
A window will open as follows:

Fig.01: Windows Pc Accessing Linux Server Via Putty SSH Client
Fig.01: Windows Pc Accessing Linux Server Via Putty SSH Client

Specify your connection name by typing hostname (such as ras.nixcraft.in) or IP address (such as 192.168.1.2) of Linux server. Click on Open button to connect to remote Linux server via SSH.

Fig.02: Putty Login Confirmation
Fig.02: Putty Login Confirmation

Click on Yes button to accept server’s host key and cache the same key.

Fig.03: User Logged into Linux Server Via Putty client
Fig.03: User Logged into Linux Server Via Putty client

Type your username (such as vivek) and password to connect to Linux server.

Linux GUI/Desktop Access from Windows XP

You need to use TightVNC server software on Linux and TightVNC client on Windows XP desktop. TightVNC is a free remote control software package derived from the popular VNC software. With TightVNC, you can see the desktop of a remote Linux machine and control it with your local mouse and keyboard, just like you would do it sitting in the front of that computer.

Step # 1: Install tightvncserver on Linux

Download tightvncserver here. If you are using Debian Linux, use following command to install tightvncserver (login as the root user):

# apt-get install tightvncserver

Start your vncserver (it needs to setup a new password to access your desktop from Windows XP), so type following command:

$ tightvncserver

Output:

You will require a password to access your desktops.

Password:
Verify:

New 'X' desktop is debian:1

Creating default startup script /home/tv/.vnc/xstartup
Starting applications specified in /home/tv/.vnc/xstartup

How do I connect from Windows XP to Linux Desktop?
You need to download VNC Viewer client. Select the viewer executable file for Windows, which does not require installation. Download and extract file on your desktop.

a) Double click on vncviewer.exe
Type IP address:1 (192.168.1.2:1) of hostname:1 (debian:1) to connect to Linux desktop

Fig.04: Connecting To Linux Desktop
Fig.04: Connecting To Linux Desktop

b) Type the password you have created while setting vncserver command.

Fig.05: Authenticating Session
Fig.05: Authenticating Session

c) And within few seconds you should able to access your Linux server desktop from Windows XP. Here is screen shot of my KDE desktop:

Fig.06 Linux Desktop
Fig.06 Linux Desktop

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

39 comment

  1. Keep it up.
    Mine is just a request.
    Am intrested in using linux but
    am not well conversant with it.
    would you help and keep on emailing
    some guidelines on how to access the system,
    how to open the files and how to use the system in general.
    Thank you for your coperation.

  2. How can I access my linux server over the internet with putty, yes the SSH server is up and runnuing in linux and I can login from my Win XP system but when I’m away from home and would like to work on my linux server I can’t .
    Thank you for your help

    Kind Regards
    Desmond

  3. hi
    i want to configure system in which server is linux machine and clients are xp machines. after configuration, i want to fire commands of sql and pl/sql on server from client to server. How is it possible ?

    1. Just download SQLDeveloper to clients on windows. Use that to connect to Oracle (i am assuming so coz u said pl/sql) host. Create connection with id,password, sid and ur good to go!

  4. Hi ,

    My name is syed hussain i am desktop engineer l1 from india. i done BE now am looking for change on server LINUX. to learn LINUX which os should i take .

    regards
    syed hussain

    1. Hi,

      According to my experience Open SUSE is a better OS for Linux Server than others.
      Its a very user friendly one to use any one without prior knowledge.

      Regards,

      RobVanDam

  5. hi.. thank you for a nice guide !! But i have a problem!! when i type from my xp client on the vnsserver (obuntu) the keys are all wrong !!! why ?? the keybordlayouts are on both pc:s swedish.. thanx..

  6. Can we access a desktop through internet in linux?
    Like in windows operating system, we can access the desktop through internet by using a software software called teamviewer. Is there any software or third party tool to access a desktop through internet in linux?

    1. first of all download the putty (software tool) and then instal that to your XP system then through putty u can connect your linux system in xp…. before making connection in putty u have to give linux system ip address and port number…. do this properly

  7. I have connected to the Linux Server via Putty and i can login.

    But i want to be able to access the share via typing \\192.168.1.110 (Linux Server IP) and it should show me the shares.

    But then asked me for login details which i enter correctly but it keeps on asking over and over.

    What am i doing wrong?

  8. Hi i have installed putty in my vista.. i am not able to enter my host name.. how to find the host name?? what are the ways to make my vista to communicate with linux in the same pc

  9. Hi Friends,
    I am using vmware workstation on windows. And i have installed “Ubuntu” in vmware (on same machine). I am able to ping from windows to Linux(Ubuntu) and vice-versa. But when i try to connect using “putty.exe” i am unable to access my linux machine.
    so please guide me.

    Thanks
    – Narendra.

  10. Hi Guys, I have Sony NSZ-GT1 which is a BD player with Google TV platform. This is based on Linux system. Unfortunately it does not allow to install any outside applications. For Example certain video player plugins to watch web based video. This device is on a home network. What I want to do is to access this device through my desktop via PUTTY etc so that I can add some plugins. But I could not get access to that device through PUTTY. Is there any one who can help me out. Thanks.

  11. Hi, i m using tightvnc server on debian to which i connect through tighvncviewer from windows xp. Everything is fine i get access to debian pc but not able to access the top and bottom taskbars on remote debian machine. Can anyone please help me out.

    Thanks!

  12. Im working as a system admin in an engineering college.We using squid for internet sharing to clients and open ip to admin office,Principal,etc.. without squid as direct ip giving dns servers ips. The problem we resist is we cannot monitor/control those people through squid.
    Please help me control those Direct IP clients by Linux Server.
    Anticipating !!!

  13. hi
    I am using Windows xp and suse server
    Earlier i my friend make connect between a server and client which perfectly working
    but unfortunately i had format my windows xp now i try to connect my ping from my computer to server its shows request time out and also i tied with putty it shows request time out
    my computer is directly connected to server through lan cable
    please suggest me what is problem qand suggest me the solution

  14. Hi,
    I’m using a Linux server in the university (I installed tight vnc server on it), and I want to remote access it from home (I installed tight vnc viewer on a windows machine).
    so I suppose that I have to pass through Internet ?? if so, what address should I use??? I tried the IP adress 10.XX.XX.XX but it didn’t work, I also tried to pass through university server: blabla.univ-blabla.com/10.XX.XX.XX and it didn’t work neither.
    Any ideas please
    Thank you

Leave a Comment