[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Virt-install cannot display console

  • To: "karhong.ng@xxxxxxx" <karhong.ng@xxxxxxx>
  • From: "Nico Kadel-Garcia" <nkadel@xxxxxxxxx>
  • Date: Wed, 10 Oct 2007 09:56:15 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 10 Oct 2007 01:57:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=SIKPYZyDgCqQldUTbJ8Z5W7vkegAlhpxfi88cvWFXWZgR8ZYxFP5rnF8MYBoHs8X53UMbtIb+JkFdZ4pBHHb+nc/Ona4bhcKjyfuJ8PP+hfsYH9n6WZ0cIInWLx5RzKH6SBxWlYy1YXPNTsaUI+jgqxNIu+Uz/DLQWjrjrivmNM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Before you start this process check that you in fact have a DISPLAY set for your local environment:
> echo $DISPLAY
It's very easy when doing SSH to remote targets or doing lots of su and sudo games to lose your DISPLAY settings. And I've had problems starting vncviewer when virt-manager was already running.
On 10/8/07, karhong.ng@xxxxxxx <karhong.ng@xxxxxxx> wrote:


I have created a domU usin virt-install on RLEL-5.
I am running vncserver, and virt-manager is able to show the console for other domU.

How for this newly domU that I have created, the command line returns as follows ::

Is there a workaround ? Kindly advice. Thanks !!

[root@machine ~]# virt-install
Would you like a fully virtualized guest (yes or no)?  This will allow you to run unmodified operating systems. yes
 What is the name of your virtual machine? dbn0
 How much RAM should be allocated (in megabytes)? 3072
 What would you like to use as the disk (path)? /var/lib/xen/images/dbn0_xen_image
 How large would you like the disk (/var/lib/ xen/images/dbn0_xen_image) to be (in gigabytes)? 150
 Would you like to enable graphics support? (yes or no) yes
 What would you like to use for the virtual CD image? /tmp/NPM31-OS-custom_kiskstart.iso

Starting install...
Unable to connect to graphical console; DISPLAY is not set.  Please connect to localhost:5920
Domain installation does not appear to have been
successful.  If it was, you can restart your domain
by running 'xm create -c dbn0'; otherwise, please
restart your installation.
[root@machine ~]# logout
[ccadmin@machine ~]$



Xen-users mailing list
http://lists.xensource.com/xen- users

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.