LinuxQuestions.org
Review your favorite Linux distribution.
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, 01:26 PM   #1
daweefolk
Member
 
Registered: Sep 2009
Distribution: debian
Posts: 79

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, 03:16 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
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, 06:23 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 12,087

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
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, 04:34 AM   #4
Slax-Dude
Member
 
Registered: Mar 2006
Location: Valadares, Portugal
Distribution: Slackware
Posts: 276

Rep: Reputation: 74
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, 01:12 AM   #5
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 100

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, 05:19 AM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 850

Rep: Reputation: 91
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, 01:11 AM   #7
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 100

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

Rep: Reputation: 91
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 03:26 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration