WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] working with latest -xen kernel?

On Fri, Oct 16, 2009 at 2:33 PM, Fasiha Ashraf <feehapk@xxxxxxxxxxx> wrote:
> Did you also read his update on that post, linking to
> http://bderzhavets.wordpress.com/2009/08/20/setup-libvirt-0-7-0-6-xen-3-4-1-dom0-on-to-fedora-11-64-bit/
> ?
> Yes I did, but i have a question about it as well, Since i have compiled xen 
> with this kernel version, Do i need to install it from rpm as well? or just i 
> should skip that step and start installing libvirt?Also tell me should it be 
> done from my dom0 or from the base kernel(nonexen)?

Boris can probably answer this better, but in general what Xen version
you use can be separated from what kernel you use. So if you have Xen
3.4.1, you can go ahead with libvirt 0.7.0.6 regardess of which kernel
you use.

>
> >
> > this error while running #vncviewer localhost:0
> >
> > Copyright (C) 2002-2005 RealVNC Ltd.
> > Copyright (C) 2000-2006 TightVNC Group
> > Copyright (C) 2004-2009 Peter Astrand for Cendio AB
> > See http://www.tigervnc.org for information on TigerVNC.
> > vncviewer: unable to open display “”

>From the look of this you're starting vncviewer process on the
server(?) but it does not have correct DISPLAY environment set. Try
"echo $DISPLAY". It should have something like ":0.0". If not, and
you're using ssh to access the server, you need X forwarding.

If it's on your local notebook/PC, then probably you start terminal as
normal user then run "su -". If that's the case, you can run "su -p -"
instead of just "su -". It will preserve necessary environment
variables (including DISPLAY. At least this works on Ubuntu).

Another option is to simply run vncviewer as normal user (you don't
need root for that).

> netstat -anp | egrep "(:59)(.+)(LISTEN)"
> [root@Server1-FC11 xendoms]# netstat -anp | egrep "(:59)(.+)(LISTEN)"
> tcp        0      0 127.0.0.1:5900              0.0.0.0:*                   
> LISTEN      2490/qemu-dm
> tcp        0      0 127.0.0.1:5901              0.0.0.0:*                   
> LISTEN      2623/qemu-dm

This shows there are two domUs with vnc listening on 5900 and 5901.

> I am not using LVM partitions. when i specified one dom disk as /dev/sda i 
> have nothing for next dom. In such situation is it good to use file? like u 
> suggest.

You can use LVM or file, your choice. If you use file-based image,
it's best to use tap:aio:/ instead of file:/ or manually using
losetup.

-- 
Fajar

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