| 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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-18-2011, 12:26 PM
|
#1
|
|
Member
Registered: Sep 2009
Distribution: debian
Posts: 76
Rep:
|
Running qemu with no X on host
I'm running slackware 13.0 with no X server. Is it possible to run qemu (or any virtualization software, for that matter) without installing X? I'd mostly be running windows systems, so I wouldn't need X on the guest.
|
|
|
|
04-18-2011, 02:16 PM
|
#2
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
QEMU can run the guest OS's video output through VNC, which I don't believe requires X to be installed.
|
|
|
|
04-18-2011, 05:23 PM
|
#3
|
|
Guru
Registered: Mar 2008
Posts: 8,552
|
I am trying to guess the question you are really asking.
Are you saying that you will be on some windows computer and you want to run some linux cli based OS? If so then yes. qemu and almost all VM's can run almost any linux/bsd/qnx/menuetos/beos/macosx and the list goes on.
As to being on a cli based linux and trying to run a linux it could be run but the output can't be shown. It may be only slightly possible to use a web based disto to a text based browser. It would be possible to run vnc, remote desktops, nx, web based admin to some other gui enabled computer.
A windows running mobaterm or cygwin or such can support a x server. (x is backwards).
|
|
|
|
04-19-2011, 03:34 AM
|
#4
|
|
Member
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 183
Rep:
|
I think he wants to be able to run a qemu host without X server.
If so, I'd also be very interested in this.
I also run slackware, and my goal is to make a host with just enough packages to run qemu-kvm + libvirt.
|
|
|
|
04-20-2011, 12:12 AM
|
#5
|
|
Member
Registered: Feb 2010
Location: SF Bay Area
Posts: 83
Rep: 
|
X is only needed on the host for those that want to use the gui management tools, libvirt is only needed if you prefer gui tools over command line.
Cheers,
|
|
|
|
04-20-2011, 04:19 AM
|
#6
|
|
Member
Registered: Dec 2007
Location: Israel
Distribution: RHEL,Fedora
Posts: 716
Rep:
|
Quote:
Originally Posted by lazardo
X is only needed on the host for those that want to use the gui management tools, libvirt is only needed if you prefer gui tools over command line.
Cheers,
|
I think you're mistaking libvirt with virt-manager.
answer: X is not required to run a VM with kvm-qemu or virsh, all you need do is start the VM with a graphical console at a VNC or SPICE port, and remotely connect to that port from a client machine.
Optionally you can connect to the hypervisor running libvirt using virt-manager remotely
|
|
|
|
04-21-2011, 12:11 AM
|
#7
|
|
Member
Registered: Feb 2010
Location: SF Bay Area
Posts: 83
Rep: 
|
Thanks for clarifying. I was intending to get to not needing libvirt, but got lost [apparently]  .
|
|
|
|
04-21-2011, 02:35 AM
|
#8
|
|
Member
Registered: Dec 2007
Location: Israel
Distribution: RHEL,Fedora
Posts: 716
Rep:
|
Quote:
Originally Posted by lazardo
Thanks for clarifying. I was intending to get to not needing libvirt, but got lost [apparently]  .
|
if you don't want libvirt, you can simply use the vnc/spice protocols - all you need do is specify the right ports and interface types in the VM startup line
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|