From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Liu Subject: Re: How to run KVM on non-X environment Date: Tue, 29 Jul 2008 00:06:32 +0800 (CST) Message-ID: <532809.2193.qm@web35208.mail.mud.yahoo.com> References: <200807280936.48137.alberto@byu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT To: kvm@vger.kernel.org Return-path: Received: from web35208.mail.mud.yahoo.com ([66.163.179.87]:45687 "HELO web35208.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752446AbYG1QGd (ORCPT ); Mon, 28 Jul 2008 12:06:33 -0400 In-Reply-To: <200807280936.48137.alberto@byu.edu> Sender: kvm-owner@vger.kernel.org List-ID: Hi Alberto, Thanks for your advice. > On Monday 28 July 2008 08:09:58 am you wrote: > > # 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 > > The "IP" address is the listening IP address on the host. If you > have more > than one NIC and wish to only listen on NIC, then you specify the IP > address > (not "IP"). If you only have one NIC, or you wish to listen for VNC > connections on all NIC's, or you just want the thing to work, then > specify: I have only one NIC on the server. > kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0 I ran above command direct on the server as root (not remotely on desktop) It just hangs there on Xterm. ubuntu6.06.img is on /root/ubuntu6.06.img Tried again; # kvm ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :0 It also hangs on the Xterm If without -vnc :0 # kvm ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d =======================| DirectFB 1.0.1 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-04-08 15:15) (*) Direct/Memcpy: Using libc memcpy() (!) 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 I expect clarifying following points; 1) I don't run X on the server. There are no X packages installed. 2) The CD on the CD-Drive is Ubuntu6.06 installer, NOT its iso image Can I use the above command? TIA B.R. Stephen > > Then, on your desktop, run "vncviewer host:0" to connect > (substituting > "host" for the domain name or IP address of your KVM host). > Send instant messages to your online friends http://uk.messenger.yahoo.com