This tutorial will help you in setting up remote desktop in ubuntu so that it can be access from windows

Settings in the Ubuntu Machine

Step 1 : Go to System->Preferences->Remote Desktop
Step 2 : You should see a window similar to this
Step 3 : Ensure that "Allow other users to view your desktop" and "Allow other users to control your desktop" is CHECKED .Also it is advised to set a password, So ensure that "Require the user to enter this password" is CHECKED and enter a suitable password as shown in the screenshot below.

Step 4 :Then close the window
Step 5 : Note down your ubuntu machine's ip address.To find out the ip address. go to the terminal(Applications->Accessories->Terminal) and type ifconfig . Your output should be similar to this

eth0 Link encap:Ethernet HWaddr 00:08:A1:8A:48:A5
inet addr:192.168.1.10 Bcast:192.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::208:a1ff:fe8a:48a5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:640073 errors:0 dropped:0 overruns:0 frame:0
TX packets:946784 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:134167533 (127.9 MB) TX bytes:788104394 (751.5 MB)
Interrupt:16 Base address:0x8000

In this case 192.168.1.10 is the ip address of the ubuntu machine, note your pc's ip address accordingly..

Settings in the Windows Machine
Step 1 : Download VncViewer From HERE
Step 2 : Extract the ZIP file to a directory and open vncviewer.exe

Step 3 : Now enter ubuntu's ip address(in this example it is 192.168.1.10) in the VNC server field as shown in the screenshot and click on the CONNECT button

Step 4 : Another window should pop up asking for the password, leave the username field blank and enter the password you entered in your ubuntu machine(In Step 3) and click on the OK button

Step 5 : You should now have your ubuntu screen on your windows machine!!!

2 comments

KARTHIK said... @ June 15, 2009 at 6:44 PM

Super Prashu.. I desperately needed this tutorial .Thanks for the clear cut explanation man.Really good work.

Prash Babu said... @ June 16, 2009 at 2:26 AM

Glad it helped!!

Post a Comment