Glen Deem
2007-May-31 21:49 UTC
[Xen-users] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
Hi all, I''ve created an HVM guest under RHES 5 (Xen 3.0.3) using "xm create" but I cannot access it with vncviewer. The Virtual Machine Manager also informs about graphics console unavailability. What am I doing wrong, please? I do> vncviewer 123.456.789.123:4,where 4 is the guest id. This is the xm config file is: name = "hvmGuest" builder = "hvm" memory = "500" disk = [ ''file:/var/lib/red-hat.img,hda,w'', ] vif = [ ''type=ioemu, mac=00:16:3e:34:3b:ba, bridge=xenbr0'', ] device_model = "/usr/lib/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vncunused=1 apic=1 acpi=1 pae=1 vcpus=1 serial = "pty" on_reboot = ''restart'' on_crash = ''restart'' Thanks a lot in advance. Glen from Ottawa, Canada _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Goldstone
2007-Jun-01 07:55 UTC
Re: [Xen-users] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
Use netstat to verify the port VNC is listening on, or change vncunused=1 to vncunused=0 and set vncdisplay=somenumber. vncunused=1 will cause it to pick an unused display, which might not be equal to the guest id. Martin Glen Deem wrote:> Hi all, > > I''ve created an HVM guest under RHES 5 (Xen 3.0.3) using "xm create" > but I cannot access it with vncviewer. > > The Virtual Machine Manager also informs about graphics console > unavailability. > > What am I doing wrong, please? > > I do >> vncviewer 123.456.789.123:4, > where 4 is the guest id. > > This is the xm config file is: > > name = "hvmGuest" > builder = "hvm" > memory = "500" > disk = [ ''file:/var/lib/red-hat.img,hda,w'', ] > vif = [ ''type=ioemu, mac=00:16:3e:34:3b:ba, bridge=xenbr0'', ] > device_model = "/usr/lib/xen/bin/qemu-dm" > kernel = "/usr/lib/xen/boot/hvmloader" > vnc=1 > vncunused=1 > apic=1 > acpi=1 > pae=1 > vcpus=1 > serial = "pty" > on_reboot = ''restart'' > on_crash = ''restart'' > > Thanks a lot in advance. > > Glen from Ottawa, Canada > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Martin Goldstone
2007-Jun-01 08:08 UTC
Re: [Xen-users] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
Hmm, I obviously didn''t read your question properly before I replied... In addition to my previous suggestions (and sorry if it seems an obvious question to ask), if you are connecting to a remote Xen host, have you made sure the firewall isn''t getting in the way? Martin Glen Deem wrote:> Hi all, > > I''ve created an HVM guest under RHES 5 (Xen 3.0.3) using "xm create" > but I cannot access it with vncviewer. > > The Virtual Machine Manager also informs about graphics console > unavailability. > > What am I doing wrong, please? > > I do >> vncviewer 123.456.789.123:4, > where 4 is the guest id. > > This is the xm config file is: > > name = "hvmGuest" > builder = "hvm" > memory = "500" > disk = [ ''file:/var/lib/red-hat.img,hda,w'', ] > vif = [ ''type=ioemu, mac=00:16:3e:34:3b:ba, bridge=xenbr0'', ] > device_model = "/usr/lib/xen/bin/qemu-dm" > kernel = "/usr/lib/xen/boot/hvmloader" > vnc=1 > vncunused=1 > apic=1 > acpi=1 > pae=1 > vcpus=1 > serial = "pty" > on_reboot = ''restart'' > on_crash = ''restart'' > > Thanks a lot in advance. > > Glen from Ottawa, Canada > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Richard W.M. Jones
2007-Jun-01 09:57 UTC
[Xen-users] Re: [Libvir] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
Glen Deem wrote:> Hi all, > > I''ve created an HVM guest under RHES 5 (Xen 3.0.3) using "xm create" > but I cannot access it with vncviewer. > > The Virtual Machine Manager also informs about graphics console > unavailability. > > What am I doing wrong, please? > > I do >> vncviewer 123.456.789.123:4, > where 4 is the guest id.What does ''virsh dumpxml hvmGuest'' say? Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ 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. 03798903 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin
2007-Jun-01 10:50 UTC
Re: [Xen-users] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
On Do, Mai 31, 2007 at 05:49:41 -0400, Glen Deem wrote:> Hi all, >Hello, Glen.> I''ve created an HVM guest under RHES 5 (Xen 3.0.3) using "xm create" > but I cannot access it with vncviewer. > > The Virtual Machine Manager also informs about graphics console > unavailability. > > What am I doing wrong, please? > > I do > >vncviewer 123.456.789.123:4, > where 4 is the guest id. >Check if the domain is running: # xm list If the domain is running, check what tcp-ports are opened. # netstat -lnp -A inet or to list only vnc ports: # netstat -lnp -A inet | grep :59 -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users