[one-users] Having problems with mouse and keyboard

Luca Lorenzini lorenzini.luca at gmail.com
Thu May 27 08:44:08 PDT 2010


I've deployed a ubuntu-desktop-10.4 image on my cloud and i can connect to
it with vnc (i can see the login screen) but mouse and keyboard dont work!
This is my vm template:

~~~~~~~~~~~~~~~~~~~~~~~~
VM TEMPLATE
~~~~~~~~~~~~~~~~~~~~~~~~
NAME   = ubuntu-desktop
MEMORY = 512
CPU=0.5

OS = [
boot="hd",
kernel="/vmlinuz",
initrd="/initrd.img",
root="sda1"
]

DISK   = [
  source = "/path/to/image/ubuntu.img",
  target   = "sda",
  readonly = "no",
  clone = "no"
]


INPUT = [ TYPE = "mouse",  BUS = "usb" ]   # I also tried BUS="ps2" without
improvements
GRAPHICS =[type ="vnc",listen ="127.0.0.1", port = "5910"]
NIC    = [ NETWORK = "private" ]

FEATURES=[ acpi="no" ]

~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is the output of "virsh dumpxml" command:


<domain type='kvm' id='42'>
  <name>one-34</name>
  <uuid>a38b6103-fef3-e13e-abf7-fdcc6900af77</uuid>
  <memory>524288</memory>
  <currentMemory>524288</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='pc'>hvm</type>
    <kernel>/vmlinuz</kernel>
    <initrd>/initrd.img</initrd>
    <cmdline>root=/dev/sda1 </cmdline>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='file' device='disk'>
      <source file='/public/lorenz/cloud//34/images/disk.0'/>
      <target dev='sda' bus='scsi'/>
    </disk>
    <interface type='bridge'>
      <mac address='00:03:c0:a8:00:06'/>
      <source bridge='virbr0'/>
      <target dev='vnet0'/>
    </interface>
    <input type='mouse' bus='usb'/>
    <graphics type='vnc' port='5910' autoport='no' listen='127.0.0.1'/>
  </devices>
</domain>



any help will be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100527/97d154eb/attachment-0002.htm>


More information about the Users mailing list