[CentOS-virt] Need Help with Xen Please

Thu Nov 27 08:52:15 UTC 2008
Jason Taylor <cto at hostbigger.com>


Thank you for your help. It has been a few days since I was able to give
this a try. However I installed Cygwin on my Windows desktop and SSH'd to
the headless machine.  I then ran virt-install without the graphics support.
Doing this I was able to get past where it was stuck before. 

I get the CentOS menus for selecting language and then it asks me to
configure the IPs. I will only be using IPv4 so I disabled IPV6. However
whenever I tell it to use DHCP it hangs forever and I end up having to do a
xm destroy and recreate the guest. 

Can anyone suggest what the next course of action would be? The server has a
single physical NIC and 1 IP. Will I need to request an additional IP
address to use with the new guest I create?


-----Original Message-----
From: centos-virt-bounces at centos.org [mailto:centos-virt-bounces at centos.org]
On Behalf Of Brett Serkez
Sent: Tuesday, November 18, 2008 4:58 A
To: brett at worth.id.au; Discussion about the virtualization on CentOS
Subject: Re: [CentOS-virt] Need Help with Xen Please

On Tue, Nov 18, 2008 at 6:41 AM, Brett Worth <brett at worth.id.au> wrote:
> Jason Taylor wrote:
> When you connect to the Centos server from your remote console you said
before that you're
> using ssh.  Is this from another Linux system?  You need to ensure that
you have access to
> your local graphical interface from the remote server i.e. that you have a
> variable set.  If "echo $DISPLAY" returns an empty string then maybe you
just need to do
> "ssh -X centos_server" when connecting so that ssh will forward the X11
back to your
> display.  Then virt-manager should work.

Sometimes ssh -Y works when ssh -X doesn't.  Over time I've started
using ssh -Y as it always works.

If the server is setup correctly, it will not allow you to ssh as
root, you'll need to ssh -Y as yourself and then su -.  When you use
the su command you might loose the DISPLAY variable, in this case
simply re-establish it and all should work.

If you workstation is Linux, you have an X-Display running.  If it is
Windows, you can use Cygwin as your X-Server.

CentOS-virt mailing list
CentOS-virt at centos.org