[Libvir] Use virsh to monitor qemud
by Fabian Deutsch
Hey,
I jsut installed Fedora 7 and tried to install some guests and it worked
like a charm. I use qemu for full virtulization.
A couple of minutes later i stumbled across libvirts virtsh. But now I
wonder how I cna use virtsh to connect to qemud - all I get is something
like: "Can't connect to hyperisor."
- fabiand
17 years, 7 months
[Libvir] SOLVED Re: cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
by Glen Deem
Thanks to Igor Chubin (spasibo) and Richard Jones, the qemu vnc server
was listening but I did not connect to its proper port (why libvirt
doesn't use <IP>:<domU id> kind of vnc connection and restricts the
server to local host only by default?).
Regards,
Glen
On 5/31/07, Glen Deem <xen.inbox@XXXXXXXXX> 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
>
17 years, 7 months
[Libvir] Re: [Xen-users] SOLVED Re: cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
by Glen Deem
Hi Dan,
I'm with you about the VNC authentication.
But I still don't understand the logic behind assigning HVM displays.
Instead of clear "domU ID is the display number" (vncunused 0), the
Virtual Machine Manager assigns vncunused to 1 and then calculates the
5900+ port, I suppose depending on what port is not occupied (BTW
where exactly is this code in the source, please?).
Why is that? And how am I suppose to find out what that port number is
if I'd want to connect to a VMM-created vm manually with my vnc
client?
Thanks,
Glen
Daniel P. Berrange wrote:
> On Fri, Jun 01, 2007 at 11:03:36AM -0400, Glen Deem wrote:
>> Thanks to Igor Chubin (spasibo) and Richard Jones, the qemu vnc server
>> was listening but I did not connect to its proper port (why libvirt
>> doesn't use <IP>:<domU id> kind of vnc connection and restricts the
>> server to local host only by default?).
>
> VNC authentication is an utter joke. It can be trivially brute forced
> so exposing it on a public IP address is not a good idea, hence the
> default is 127.0.0.1, though even that's not ideal because it is still
> exposed to local users. Ultimately VNC needs to have SSL/TLS support
> integrated into it to allow secure access over public network, which
> is something I'm working on for QEMU...
>
> Dan.
17 years, 7 months
[Libvir] cannot use vncviewer and VMM graphics console to access HVM guest on RHES 5
by Glen Deem
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
17 years, 7 months