Access Linux From Windows XP / Vista / 7 Systems

by Vivek Gite on April 18, 2006 · 33 comments

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 33 comments… read them below or add one }

1 maarten December 22, 2006

i screwed my HD out of my VCR. it is ide and runs on my windows computer. but i cant access it at all?!
how to?

Reply

2 Amanya frank March 21, 2007

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.

Reply

3 nixcraft March 21, 2007

Amanya,

If you have more question feel free to use our forum.

Reply

4 huge December 8, 2007

this sent me into X, cant see my desktop at all.

Reply

5 jeswinder January 21, 2008

i want to add mp3 tags to my mp3 that are uploaded to my host server which is remote.How’s that possible .help me.

Reply

6 shaik January 31, 2008

Please send me troubleshooting of system like windows and linux

Reply

7 shaik January 31, 2008

send me growth of information for windows and linux based

Reply

8 Jeff August 17, 2008

I receive the “Request timed out” error when trying to login.

What is the workaround?

Reply

9 C.Govintharaj May 18, 2011

Check,….have u given proper IP address and host name..

Reply

10 vishal August 28, 2008

hello that stuf is too good

Reply

11 Desmond Dodson January 14, 2009

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

Reply

12 bhargav February 10, 2009

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 ?

Reply

13 Shamala November 11, 2010

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!

Reply

14 syed hussain March 16, 2009

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

Reply

15 RobVanDam August 13, 2010

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

Reply

16 Dheeraj singh July 9, 2009

thanks a lot …………………

Reply

17 Andrée August 8, 2009

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

Reply

18 ajay August 17, 2009

how to use client from linux server sendmail

Reply

19 sagar October 2, 2009

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?

Reply

20 M.Akilan January 16, 2010

how to access the linux pc to windows xp

Reply

21 C.Govintharaj May 18, 2011

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

Reply

22 Helio February 11, 2010

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?

Reply

23 ramesh May 13, 2010

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

Reply

24 C.Govintharaj May 18, 2011

host name in the sense IP address… u can give ur linux system ip address use this command ifconfig.to find your linux system ip address

Reply

25 abhinay May 26, 2011

Can we copy and access the files of linux in windows using this putty software?

Reply

26 Narendra June 10, 2011

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.

Reply

27 shubham June 23, 2011

just thanks

Reply

28 Pradeep June 25, 2011

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.

Reply

29 sunshine July 26, 2011

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!

Reply

30 tips August 16, 2011

i tried to find easy and simple tutorials of putty.exe for long time. thanx for these tutorial.

Reply

31 Paulo Ricardo Stradioti December 1, 2011

It’s working. Thank you for sharing!

Reply

32 saleem December 28, 2011

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

Reply

33 sachin January 10, 2012

hello sir
i’m very confused after using putty
then i’m very happy for using putty soft

thnx sir

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">




Previous post:

Next post: