<karhong.ng@nsn.com>
2007-Oct-08 10:16 UTC
[Xen-users] Virt-install cannot display console
Hi, 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 Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nico Kadel-Garcia
2007-Oct-10 08:56 UTC
Re: [Xen-users] Virt-install cannot display console
Before you start this process check that you in fact have a DISPLAY set for your local environment:> echo $DISPLAYIt''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@nsn.com <karhong.ng@nsn.com> wrote:> > Hi, > > 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 > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon October 8 2007 6:16:00 am karhong.ng@nsn.com wrote:> Unable to connect to graphical console; DISPLAY is not set. Please connect > to localhost:5920Fedora, and I would assume RHEL, is a bit cranky about starting X programs from a sudo initiated shell, ''su'' is better - it creates a proper .xauthority file in ''/root''. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users