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

 Note: if You are not able to get Proper Display..then edit .vnc/xstartup file
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
exec gnome-session &

now Connet & enjoy.


No comments:

Post a Comment