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

[Xen-users] VNC access console of paravirtualised DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VNC access console of paravirtualised DomU
From: Ian Murray <murrayie@xxxxxxxxxxx>
Date: Mon, 27 Oct 2008 08:33:26 +0000 (GMT)
Delivery-date: Mon, 27 Oct 2008 01:34:12 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=duaybUE4iqyUVUMjNq20KN1vYMoNN25srSg39LSoP2RQ9jiq59JN41xiQBz4fduvPTqgZf5wfLl+a0HHtgPwJrc5OM6vsfaN+7NGkO0qkDTOg8MGSCuF0xVSzzDQuZLBsKi7iNIdgvV4pDJp3c4qQiDQrAHNV+zpjDzGAcfFQWY=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks for all the answers. I got it working eventually by setting up a CentOS installation on a USB drive. I setup CentOS DomU with virtual machine manager (other than that was the same as the DomU on the Dom0 Ubuntu). I did a comparison of what it was doing compared with my Ubuntu Dom0 generated CentOS DomU.


Things I was missing were:-

vfb = [ "type=vnc,vncunused=1" ] in the config file

At this point VNC started to listen but just gave a black screen when vncviewer was launched.

In my grub.conf there was a "console=xvc" line or similar which was stopping the boot messages appearing in the VNC console.

Now I could boot and read the boot messages in VNC (and xm console!) but no login prompt.

Lastly, I re-enabled the line for in inittab for tty01, as I noticed that it was commented out in the DomU I created in using "xm console", which allowed to

So at this point both DomU's were behaving the same way. I went back to Ubuntu and applied the fixes and then (apart from some odd colouring) it all seemed to work okay.

Was a bit disappointed that I couldn't see the pyGRUB output, but I am guessing that may be impossible otherwise CentOS would be doing it out the box.

Thanks again.

  

From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
To: xen-users@xxxxxxxxxxxxxxxxxxx; Ian Murray <murrayie@xxxxxxxxxxx>
Sent: Monday, 27 October, 2008 6:11:19
Subject: Re: [Xen-users] VNC access console of paravirtualised DomU



--- On Sun, 10/26/08, Ian Murray <murrayie@xxxxxxxxxxx> wrote:
From: Ian Murray <murrayie@xxxxxxxxxxx>
Subject: [Xen-users] VNC access console of paravirtualised DomU
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, October 26, 2008, 7:49 AM

Hi,

I've seen this asked a few times, but I just can't work out whether I am misinterpreting how this is supposed to work, or if it is just broken in my setup.

What I want is to be able to see the character cell console of DomU's via VNC. As far as I understand, when I create/startup the DomU, then a vnc server should start listening on my Dom0. I have tried every combination of VNC=1, VNCVIEWER=0 in my config file but at no point do I get a VNC port being opened for listening on the Dom0. Dom0 is Hardy Heron, DomU's are Centos 5.2 and Hardy.
***********************************************************
At CentOS 5.2 DomU vfb works fine:-

http://bderzhavets.wordpress.com/2008/10/20/pygrub-install-centos-52-pv-domu-at-xen-32-ubuntu-hardy-dom0-via-local-http-server-all-64-bit/

View:-

http://blog.bashton.com/2008/running-an-ubuntu-hardy-xen-domu-under-a-centos-dom0/

Personally, i failed when followed link above to get graphical login via vfb
as advised above and just set it up in Hardy DomU:-

http://bderzhavets.blogspot.com/2008/10/install-ubuntu-hardy-pv-domu-vnc-at.html
**********************************************************
All the Xen kernel and tools were as was provided by the repositories. When I was trying this a while ago with Centos 5.1 as the Dom0, I was using virtual machine manager which seemed to give me a colourful representation of the console/, which I assume now was over VNC. I haven't got that setup anymore to reference, alas and virtual-machine-manager seems broken on Hardy, afa I can tell.

So, am I missing something or is it supposed to work the way I described? If so, what should I have in my config files/sxp to make it work?

Thanks in advance and be gentle with me because I am a noob Xen user!

Ian.

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



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