LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 10-20-2009, 11:04 AM   #1
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
KVM without X?


Hi guys.

I would like to know, if it is possible to start and manage KVM virtual machines without X, from a text console. Some reading up on this seems to indicate that it is.

In which case, I would then like to know if it is possible to start X from within a VM, started from a host not running X?

Or would X have to be running on the host?

Thanks
 
Old 10-20-2009, 03:18 PM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
yes, it is possible to run and manage VMs, whether by using virsh from the libvirt package, or directly interacting with kvm/qemu

yes it is possible to start a VM with X on top of a server that doesn't have X. The VM is separate from the host machine, and can run whatever you install on it
 
1 members found this post helpful.
Old 10-20-2009, 06:28 PM   #3
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Hi,

Thanks for your answer.

So I can have 3 or 4 different virtual machines, each running on a different tty terminal, each running X, without X running on the host?

How does xen compare?

Thanks
 
Old 10-21-2009, 02:43 AM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
you can run as many VMs as the server can hold, with or without X

XEN and other virtual solutions can do the same
 
Old 10-21-2009, 05:35 AM   #5
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
OK, thanks for your answers.

Now I am just looking at which is better, Xen or KVM. Can you reccomend any good comparison guides for them both?
 
Old 10-21-2009, 06:38 AM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
no, but here's a good insight about why KVM is the right choice:

http://blog.codemonkey.ws/2008/05/tr...m-and-xen.html
 
Old 10-21-2009, 06:44 AM   #7
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by dyasny View Post
no, but here's a good insight about why KVM is the right choice:

http://blog.codemonkey.ws/2008/05/tr...m-and-xen.html
I actually read that just a while ago before you replied.

I really don't care about the political side of things, I am interested in what is most stable, best performing, compatible etc.

At the moment, and evena ccording to that article, the answer appears to be xen. Which is why I continue to look for informed comparisons.
 
Old 10-21-2009, 07:53 AM   #8
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
KVM came a long way since 2008. Currently it's the preferred Linux hypervisor, Red Hat already switched, Debian is probably about to...
 
Old 10-21-2009, 08:41 AM   #9
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Guess the choice between Xen and KVM is just how old your hardware is. KVM need a processor which supports virtualisation.. Take a look at the cpu flags of /proc/cpuinfo. dunno anymore which one is for amd and which one is for intel processors.
Also have in mind that KVM needs qemu as a underlying system. Not that much of a problem.
Nother thing that you need to have special kernels for xen to work. That's the diffrence between para and full virtualisation.

I also find networking a bit easier under Xen but thats mostly cause I'm used to it.

Cheers Zhjim
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM-85 and using SlackBuilds kvm (83) script Chuck56 Slackware 2 04-22-2009 01:24 PM
KVM - Hypervisor too old? Chuck56 Slackware 1 11-21-2008 12:10 PM
Kvm?? TheStupid Fedora 2 08-01-2008 11:42 PM
Kvm rjbeltran Linux - Hardware 1 10-20-2007 04:17 AM
Kvm wwnexc Linux - Hardware 3 05-15-2006 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration