Re: The console is currently unavailable / vnc port = -1 [FIXED]

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

 



Richard W.M. Jones wrote:
    <graphics type='vnc' port='-1'/>

This was fixed by the following patch applied to libvirt. Note however that this patch _only_ applies if you are running Fedora Core 6, because the PVFB stuff was back-ported by Red Hat.

I also had to reboot the machine after recompiling everything.

Rich.

diff -u -r1.68 xml.c
--- src/xml.c   21 Mar 2007 15:24:56 -0000      1.68
+++ src/xml.c   3 Apr 2007 15:49:18 -0000
@@ -625,7 +625,7 @@

     /* Is a graphics device specified? */
     /* Old style config before merge of PVFB */
-    if (xendConfigVersion < 3) {
+    if (xendConfigVersion < 2) {
         obj = xmlXPathEval(BAD_CAST "/domain/devices/graphics[1]", ctxt);
         if ((obj != NULL) && (obj->type == XPATH_NODESET) &&
             (obj->nodesetval != NULL) && (obj->nodesetval->nodeNr > 0)) {
@@ -1161,7 +1161,7 @@
     xmlXPathFreeObject(obj);

     /* New style PVFB config  - 3.0.4 merge */
-    if (xendConfigVersion >= 3 && !hvm) {
+    if (xendConfigVersion >= 2 && !hvm) {
         obj = xmlXPathEval(BAD_CAST "/domain/devices/graphics", ctxt);
         if ((obj != NULL) && (obj->type == XPATH_NODESET) &&
             (obj->nodesetval != NULL) && (obj->nodesetval->nodeNr >= 0)) {


--
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux