From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Liu Subject: Re: How to run KVM on non-X environment (RESEND) Date: Mon, 28 Jul 2008 22:09:58 +0800 (CST) Message-ID: <974608.9351.qm@web35201.mail.mud.yahoo.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: kvm@vger.kernel.org Return-path: Received: from web35201.mail.mud.yahoo.com ([66.163.179.80]:37669 "HELO web35201.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750851AbYG1OJ7 (ORCPT ); Mon, 28 Jul 2008 10:09:59 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: --- Thomas Mueller wrote: > On Mon, 28 Jul 2008 15:06:17 +0800, Stephen Liu wrote: > > > >> > >> > >> > On running > >> > # kvm -m 750 -cdrom /dev/scd0 -boot d ubuntu6.06.img > >> > >> add -vnc : > >> > >> or disable graphics completly (see kvm --help) > > > > > > Hi Thomas, > > > > > > Thanks for your advice. > > > > > > There is no graphic running on the server which is headless. I > > configure the server remotely via ssh connection on a workstation. > > > > > > Please explain in more detail. The CD running on /dev/scd0 is an > > installer to install Ubuntu 6.06 NOT an ISO image. > > so if you want to access the "vga monitor" of the virtual machine, > you > have to add "-vnc :0" and then connect with a vnc to > "physical-host-ip-or- > dnsname:0" > http://en.wikipedia.org/wiki/Virtual_Network_Computing Hi Thomas, Thanks for your advice and URL. Performed following test but failed. # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc IP:0 Could not parse VNC address # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc IP:1 Could not parse VNC address # dpkg -l | grep vnc No printout I suppose VNC not installed. Which of the following packages need to install? vnc4server linuxvnc python-gtk-vnc TIA B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com