I've been trying to get a VNC connection to my Ubuntu instance installed at EC2.
This is what I have done so far :-
- Install x11vnc and run it as
x11vnc -create
. I used the create flag as I wasn't sure if I believed an xserver wouldn't be running and would have to be created. I got the following output mentioning that "The VNC Desktop is , Port=5903". - I edited the security groups to allow incoming connections to port 5903.
- I tried connecting to the VNC desktop from my Mac using "Chicken of the VNC" at the public dns and port 5903 but it says
connect() failed
.
What am I doing wrong? Am I binding to the wrong interface? Thanks.