I have setup a RHEL machine in EC2 and am able to work with it using SSH fine. I followed this guide to install a GUI: http://stackoverflow.com/questions/5...n-ec2#13318570
and it worked fine.
Since then, I have created other EC2 instances, following the same guide, using both RHEL and CentOS; however, when trying to connect via VNC I get the error: The connection was refused by the host computer.
What am I doing wrong? I have a security rule configured in EC2 that allows incoming traffic to port 5902 and the host's iptables has a similar rule.
Hoping to get this working ASAP as I will be away soon and wanted to fully set this up and transfer over some files before then.