Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Debian Squeeze KVM hypervisor running a server guest VM and a Desktop guest OS VM. Is it possible for the Desktop guest to send it's display to monitor directly attatched to the computer?

An answer from another forum suggested using Xen, a second video card and pci.hideback. This setup would have the hypervisor ignore the second videocard, and the guest use it to send the display to a monitor.

Another suggestion was to use VNC locally on the VM desktop and loopback to the Virtual machine console sessions.

I'd like to avoid using VNC as the server itself will be running screen sharing software, and that way may lie madness.

Has anyone got this working? I'm open to other ways of running a server and a desktop OS on the same physical machine, but this way seems the most secure.

share|improve this question
    
Don't do it. –  Michael Hampton Dec 19 '12 at 21:28
    
Good advice, though a little difficult to grasp. A better answer would point to Xen vga passthru and say "possible, but limited to hardware with IOMMU support. –  user150266 Dec 19 '12 at 22:06
    
Or vt-d for intel. –  user150266 Dec 19 '12 at 23:23

1 Answer 1

I don't think this is possible - the KVM hypervisor provides a virtual console for guests, it doesn't give guests access to control the real console. If it did that, you would lose control of the hypervisor. I'm willing to be proven wrong on this, however.

share|improve this answer
    
That fits with answers I've gotten elsewhere. It seems Xen's VGA passthrough using a second video card is the way to go. Looks like it is under development. I couldn't find any useful information about pci.hideback. –  user150266 Dec 19 '12 at 21:25
    
KVM assigning a second video card to a guest with vt-d is possible too. Doesn't look like it's under development, or as advanced as Xen. –  user150266 Dec 19 '12 at 23:27

Your Answer

 
discard

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.