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/xstartupHow 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.05: Authenticating Session

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