2

I was wondering if it was possible to connect to an Amazon ec2 instance via VNC, but instead of installing a VNC server in the target machine, somehow connect it to the hypervisor's graphics output and mouse/keyboard input. This would be handy for a few reasons:

  • I could see what's happening to my virtual machines before the VNC (or RDP for windows instances) service started. For example, if a machine isn't booting, I can see what the boot messages are.
  • I can run OSes like Android without having to somehow modify them to use a VNC server.
Matt Lyons-Wood
  • 133
  • 1
  • 6

3 Answers3

2

Here are a few answers to your questions

Amazon will not give you access to the Hypervisor machine.

You can get boot messages from your instance through CLI or the EC2 Management Console, just right click on an instance and select "Console"

Unfortunately the only way you can get a VNC server is to install one.

Kevin
  • 633
  • 3
  • 7
  • Understandable, thanks for that. The console doesn't really help, I have looked but it didn't really give any meaningful information. – Matt Lyons-Wood Dec 17 '11 at 09:49
0

I don't think that you can do it with amazon instances. for VNC you need to enable that port on Host machine Because of security reasons amazon is not going to do that, until you have your dedicated server.

0

If your instance installed with vnc server like tiger-vnc in CentOs or Ubuntu on Amazon Web Service. And set the security group that are applying on that instace,make the "inbound" port open . Then you could through any other vnc-client to connect with it .

  • This wouldn't do what he wants - he wants to do it not using a VNC server on the VM, but by connecting to the hypervisor's expression of the keyboard and mouse like the management consoles in Xen and ESXi do. – Falcon Momot Aug 20 '13 at 03:43