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] Running Xen 3.0, guest OS does not open a window

To: "John Wilson" <j.wilson@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Running Xen 3.0, guest OS does not open a window
From: "Inbar, Noah" <noah.inbar@xxxxxxxxx>
Date: Tue, 8 Nov 2005 19:04:28 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 09 Nov 2005 00:04:50 +0000
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXkvwkrCzfHUDFQTtSziJ3Z2SzchQAAfUFQ
Thread-topic: [Xen-users] Running Xen 3.0, guest OS does not open a window
Hi John, Thanks for taking my question!

I actually tried minutes ago "xm console 1" and I get the following
error message: " xenconsole: xs_get_domain_path(): No such file or
directory "

Do you know what xs_get_domain_path is?  How do I get it installed? 

BTW, You have a number of references to VNC, in which configuration file
should I look for it?

Thx!
--Noah


-----Original Message-----
From: John Wilson [mailto:j.wilson@xxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Tuesday, November 08, 2005 6:49 PM
To: Inbar, Noah
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Running Xen 3.0, guest OS does not open a
window

Try this homeboy...

1) Type 'netstat -nat' at the command line and see if you have any VNC
servers listening, they'll be port 580x or 590x, 'x' being what number
Xen
has given (or you have assigned) the VM.

2) It might sound stupid but assuming your VM starts (you see it with xm
list), commenting out the VNC/SDL lines can make it run in some kind of
different/faster mode...

3) try a stdvga = 1 instead of the VNC lines, a different, albeit slower
mode...

John



Quoting "Inbar, Noah" <noah.inbar@xxxxxxxxx>:

> This is a multi-part message in MIME format.
>
> ------_=_NextPart_001_01C5E4AF.B90A73FF
> Content-Type: text/plain;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Dear Xen community,
>
> I have Xen 3.0 installed on RedHat Linux Enterprise RHEL4U2.   "xend
> install" runs fine with no error messages.
>
> =20
>
> However, when I start "xm cr guest-vmx.conf" I do not get any new
window
> open for the new guest OS.  "xm list" shows that the vmx has started
and
> seems to be working fine (just for testing, when I type "xterm" an X
> window opens OK).
>
> =20
>
> Any idea how to get a window open for the guest OS?
>
> =20
>
> =20
>
> "xm list" produces the following output:
>
> =20
>
> Name             Id        Mem(MB)       CPU        VCPU(s)
State
> Time(s)
>
> Domain-0         0         507                 0               1
> r-----                   87.3
>
> VMX-1             1         132                 1               1
> r-----                  671.1
>
> =20
>
> =20
>
> My guest-vmx.conf file:
>
> # Kernel image file.
>
> kernel =3D "/usr/lib/xen/boot/vmxloader"
>
> =20
>
> # The domain build function. VMX domain uses 'vmx'.
>
> builder=3D'vmx'
>
> =20
>
> # Initial memory allocation (in megabytes) for the new domain.
>
> memory =3D 128
>
> =20
>
> name =3D "VMX-1"
>
> =20
>
> #cdrom =3D "/root/FC4-i386-DVD.iso"
>
> #boot=3D'd'
>
> =20
>
> disk =3D [ 'file:/root/rhel4u1_ia32_qcow.img,ioemu:hda,w' ]
>
> =20
>
> #device_model =3D '/usr/lib/xen/bin/qemu-dm.debug'
>
> device_model =3D '/usr/lib/xen/bin/qemu-dm'
>
> =20
>
> memmap =3D '/usr/lib/xen/boot/mem-map.sxp'
>
> =20
>
> sdl=3D1
>
> =20
>
>
> ------_=_NextPart_001_01C5E4AF.B90A73FF
> Content-Type: text/html;
>       charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
> xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
> xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
> xmlns:x=3D"urn:schemas-microsoft-com:office:excel" =
> xmlns=3D"http://www.w3.org/TR/REC-html40";>
>
> <head>
> <meta http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Dus-ascii">
> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered
medium)">
> <style>
> <!--
>  /* Font Definitions */
>  @font-face
>       {font-family:"MS Mincho";
>       panose-1:2 2 6 9 4 2 5 8 3 4;}
> @font-face
>       {font-family:"\@MS Mincho";
>       panose-1:2 2 6 9 4 2 5 8 3 4;}
>  /* Style Definitions */
>  p.MsoNormal, li.MsoNormal, div.MsoNormal
>       {margin:0in;
>       margin-bottom:.0001pt;
>       font-size:12.0pt;
>       font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
>       {color:blue;
>       text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
>       {color:purple;
>       text-decoration:underline;}
> p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
>       {margin:0in;
>       margin-bottom:.0001pt;
>       font-size:10.0pt;
>       font-family:"Courier New";}
> span.EmailStyle17
>       {mso-style-type:personal-compose;
>       font-family:Arial;
>       color:windowtext;}
> @page Section1
>       {size:8.5in 11.0in;
>       margin:1.0in 1.25in 1.0in 1.25in;}
> div.Section1
>       {page:Section1;}
> -->
> </style>
>
> </head>
>
> <body lang=3DEN-US link=3Dblue vlink=3Dpurple>
>
> <div class=3DSection1>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Dear Xen community,<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>I have Xen 3.0 installed on RedHat Linux Enterprise
=
> RHEL4U2.&nbsp;
> &nbsp;&#8220;xend install&#8221; runs fine with no error =
> messages.<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>However, when I start &#8220;xm cr =
> guest-vmx.conf&#8221; I
> do not get any new window open for the new guest OS.&nbsp; &#8220;xm =
> list&#8221;
> shows that the vmx has started and seems to be working fine (just for
=
> testing, when
> I type &#8220;xterm&#8221; an X window opens =
> OK).<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Any idea how to get a window open for the guest =
> OS?<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><u><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>&#8220;xm list&#8221; produces the following =
> output:<o:p></o:p></span></font></u></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
>
font-family:Arial'>Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
n=
> bsp;&nbsp;&nbsp;&nbsp;
> Id&nbsp;&nbsp; =
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mem(MB)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;=
>
> CPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
> VCPU(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>
&nbsp;&nbsp;State&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
n=
> bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> Time(s)<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>Domain-0&nbsp;&nbsp;&nbsp;&nbsp; =
> &nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;507&nbsp;&nbsp;&nbsp;&nbsp;&nb
s=
> p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;=
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;=
> &nbsp;&nbsp;&nbsp;
>
r-----&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&=
> nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> 87.3<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
>
font-family:Arial'>VMX-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&=
> nbsp;&nbsp;&nbsp;&nbsp;
> 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
>
132&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
s=
> p;&nbsp;&nbsp;&nbsp;&nbsp;
>
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;=
> &nbsp;
> &nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r-----&nbsp;&nbsp;
&=
>
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
n=
> bsp;&nbsp;&nbsp;
> 671.1<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoNormal><u><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'>My guest-vmx.conf file:</span></font></u><font =
> size=3D2
> face=3DArial><span =
>
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></
p=
>>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'># Kernel image =
> file.<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'>kernel =3D =
> &quot;/usr/lib/xen/boot/vmxloader&quot;<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'># The domain build function. VMX domain uses =
> 'vmx'.<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>builder=3D'vmx'<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'># Initial memory allocation (in megabytes) for the new =
> domain.<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>memory =3D 128<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>name =3D &quot;VMX-1&quot;<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>#cdrom =3D =
> &quot;/root/FC4-i386-DVD.iso&quot;<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>#boot=3D'd'<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>disk =3D [ 'file:/root/rhel4u1_ia32_qcow.img,ioemu:hda,w' =
> ]<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>#device_model =3D =
> '/usr/lib/xen/bin/qemu-dm.debug'<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'>device_model =3D =
> '/usr/lib/xen/bin/qemu-dm'<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'>memmap =3D =
> '/usr/lib/xen/boot/mem-map.sxp'<o:p></o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> lang=3DDE
> style=3D'font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>
>
> <p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
> style=3D'font-size:
> 10.0pt'>sdl=3D1<o:p></o:p></span></font></p>
>
> <p class=3DMsoNormal><font size=3D2 face=3DArial><span =
> style=3D'font-size:10.0pt;
> font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>
>
> </div>
>
> </body>
>
> </html>
>
> ------_=_NextPart_001_01C5E4AF.B90A73FF--
>
>



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