running kvm in non-X environment

NoOp glgxg at sbcglobal.net
Thu Jul 12 01:32:00 UTC 2007


On 07/11/2007 10:06 AM, Tomoki Taniguchi wrote:
> I am trying to test kvm on a new intel-vt enabled laptop.
> https://help.ubuntu.com/community/KVM
> I have installed ubuntu-server-7.04 with just a standard install.
> i then installed kvm and qemu as instructed.
> and i have successfully loaded the kvm-intel module.
> 
> now i am wondering if there is a way to run the kvm
> in a non-X environment to reduce the initial overhead
> of the host OS.
> 
> in the console i try to start kvm and i get
> <snip>
> (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
>     --> No such file or directory
> (!) DirectFB./FBDev: Error opening framebuffer device!
> (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
> (!) DirectFB/Core: Could not initialize 'system' core!
>     --> Initialization error!
> Could not initialize SDL - exiting
> <snip>
> 
> can anyone help me to get kvm working without X?
> 
> TIA,
> Tomoki
> 

Haven't a clue if this will work and it's a WAG, but perhaps you can
have a look at my post in the "boot splash screen" thread. You can set
the framebuffer mode in grub:

sudo hwinfo --framebuffer | grep 'Mode '

Then set vga= on the kernel line.

BTW: first I've heard of KVM... looks to be an interesting project :-)






More information about the ubuntu-users mailing list