[one-users] Về: Cannot use VNC to connect to running Vms

Carlos Martín Sánchez cmartins at fdi.ucm.es
Tue Jun 1 02:46:43 PDT 2010


Hi Giang,

I'm sorry I didn't notice in your first email, but you have a typo in your
GRAPHICS declaration, you forgot to write the S.
See [1],  I/O Devices Section.

Hope that solves the problem,
Regards
Carlos

[1] http://opennebula.org/documentation:rel1.4:template

Carlos Martín, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org


2010/6/1 GIANG NGUYENVAN <mvnli_giang at yahoo.com>

> Hi.
> When I tried running the TTYLINUX example, I got same problem. And also, I
> think there is something happen with the DISPLAY declaration.
> I have declared the DISPLAY information in the template, which is "GRAPHIC
> = [type="vnc", listen="127.0.0.1", port="5902"]"
> However, in the KVM host, when I run the application "Virtual Machine
> Monitor", then "Details" of the Running VM, I cannot see anything about that
> Display Hardware, as you can see in the attached file.
> I think OpenNebula has problem with VM template :(
> Hope to hear your answer :)
> ------------------------------
> *Từ:* Carlos Martín Sánchez <cmartins at fdi.ucm.es>
> *Đến:* GIANG NGUYENVAN <mvnli_giang at yahoo.com>
> *Cc:* users at lists.opennebula.org
> *Gửi ngày:* 17:51:26, Thứ Hai, 31 tháng 5 2010
> *Chủ đề:* Re: [one-users] Cannot use VNC to connect to running Vms
>
> Hello Giang.
>
> It seems to me that you are trying to install Windows XP from the .iso to
> the empty .img file, is that right?
> Before we try to narrow down your connectivity problems, I suggest you to
> run the sample VM provided at [1] (kind of 'hello world' for an OpenNebula
> installation)
>
> Also, keep in mind that contextualization is not supported for Windows
> machines right now.
>
> [1] http://opennebula.org/documentation:rel1.4:vmg
>
> Regards,
> Carlos
>
>
> Carlos Martín, Cloud Technology Engineer/Researcher
> DSA Research Group: web http://dsa-research.org and blog
> http://blog.dsa-research.org
> OpenNebula Open Source Toolkit for Cloud Computing:
> http://www.OpenNebula.org
>
>
> 2010/5/28 GIANG NGUYENVAN <mvnli_giang at yahoo.com>
>
>>
>>
>>
>> Hello.
>> I am deploying a system like that: A front-end computer, which uses Ubuntu
>> 9.10, has OpenNebula installed in; and some Cluster nodes, which use Ubuntu
>> and KVM hypervisor.
>> Everything seems perfect, untill I deploy the VMs after submit the
>> template. It's STATE is Running, but I cannnot do anything to interract to
>> those Vms (like ssh, or virsh console...)
>> Another problem is that I have set up a VNC server on The Cluster node,
>> which is the node that i deployed the VM in, and in the Vm template I have
>> defined the Graphic output to listen on that Node.
>> Here is the Vm template I used:
>>
>> NAME = WindowsXP
>> MEMORY = 512
>> CPU    = 0.2
>>
>> OS = [ boot="cdrom"]
>>
>> DISK   = [
>>   source   = "/srv/cloud/win/WindowsXP.img",
>>   target   = "hda",
>>   readonly = "no",
>>   save = "yes" ]
>> DISK = [
>>   clone = "no",
>>   type = "cdrom",
>>   source = "/srv/cloud/win/WindowsXP.iso",
>>   target = "hdb" ]
>>
>> NIC    = [ NETWORK = "Small network 2" ]
>>
>> GRAPHIC = [type="vnc", listen="0.0.0.0", port="5938"]
>>
>>
>> I use "0.0.0.0" to force the VM to listen on all vncserver. I have
>> installed a VNC server on the Cluster node, and I think I can use VNC Viewer
>> to see something in the Vm, but It always say "Connection refuse" when I
>> tried to. I am was really confused.
>> Would anyone help me please. Thanks you for reading this.
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100601/c5369996/attachment-0002.htm>


More information about the Users mailing list