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 04-18-2011, 12:26 PM   #1
daweefolk
Member
 
Registered: Sep 2009
Distribution: raspbian
Posts: 94

Rep: Reputation: 15
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.
 
Old 04-18-2011, 02:16 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
QEMU can run the guest OS's video output through VNC, which I don't believe requires X to be installed.
 
Old 04-18-2011, 05:23 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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).
 
Old 04-19-2011, 03:34 AM   #4
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, V.N.Gaia, Portugal
Distribution: Slackware
Posts: 528

Rep: Reputation: 272Reputation: 272Reputation: 272
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.
 
Old 04-20-2011, 12:12 AM   #5
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 270

Rep: Reputation: Disabled
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,
 
Old 04-20-2011, 04:19 AM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by lazardo View Post
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
 
Old 04-21-2011, 12:11 AM   #7
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 270

Rep: Reputation: Disabled
Thanks for clarifying. I was intending to get to not needing libvirt, but got lost [apparently] .
 
Old 04-21-2011, 02:35 AM   #8
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by lazardo View Post
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
 
  


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
Share between Qemu-Kvm host and guest Alexvader General 1 06-13-2010 03:07 PM
32bit qemu image on 64bit host? Yalla-One Slackware 14 08-25-2009 05:18 PM
qemu host mode problem shogun1234 Linux - Newbie 1 08-04-2008 07:06 AM
Virtualizing FreeBSD in qemu on an opensuse host inspiron_Droid *BSD 1 04-16-2008 03:55 PM
Qemu mangling memory in host royceH Linux - Desktop 3 01-09-2007 01:40 PM

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

All times are GMT -5. The time now is 11:14 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