Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.
share|improve this question
Do you have access to the hypervisor? – SpacemanSpiff Dec 16 '11 at 8:10
After reading some of the answers I gather I don't, also there's nothing in the Amazon console which suggests I might. It will probably be a feature they release in future. – Matt Lyons Dec 17 '11 at 9:51
up vote 2 down vote accepted

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.

share|improve this answer
Understandable, thanks for that. The console doesn't really help, I have looked but it didn't really give any meaningful information. – Matt Lyons Dec 17 '11 at 9:49

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.

share|improve this answer

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 .

share|improve this answer
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 3:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.