I'm a beginner to Linux/Ubuntu (I know windows servers very well) and new to Amazon Web Services as well. I have deployed an instance of Ubuntu 12.04 on AWS.

I successfully ran this command to install the desktop GUI sudo apt-get install ubuntu-desktop

Now I'm trying to use UltraVNC viewer to connect to the instance but can't get it to work. I have opened port 5900 in AWS security groups but not sure if I have to open the port on Ubuntu server as well. I tried but not sure if it worked.

What do I need to do in order to connect to the using UltraVNC? Keep in mind that I'm a beginner.

When I run
netstat -a there are the results I get

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
tcp 0 224 ip-10-159-46-181.ec:ssh BMTNON37-30967769:29341 ESTABLISHED
tcp6 0 0 [::]:ssh [::]:* LISTEN
tcp6 0 0 ip6-localhost:ipp [::]:* LISTEN
udp 0 0 *:mdns *:*
udp 0 0 *:45024 *:*
udp 0 0 *:bootpc *:*
udp6 0 0 [::]:mdns [::]:*
udp6 0 0 [::]:51923 [::]:*