[Bug 1378708] Re: VNC based installation does not interpret key strokes correctly.

Phillip Susi psusi at ubuntu.com
Mon Oct 27 18:42:22 UTC 2014


This doesn't seem to have anything to do with ubiquity.... what makes
you think this isn't simply your keyboard's auto repeat feature and
you're holding down the key for too long?


** Package changed: ubiquity (Ubuntu) => qemu (Ubuntu)

** Changed in: qemu (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1378708

Title:
  VNC based installation does not interpret key strokes correctly.

Status in “qemu” package in Ubuntu:
  Incomplete

Bug description:
  Problem Description
  =====================
  Ubuntu 14.10 VNC mode installation process does not interpret key strokes correctly.
    
  ---uname output---
  Ubuntu daily build dated Oct 6th  2014
   
  Machine Type = 8284-22A 
   
  System Hang
  ==========
   During VNC mode installation,  whenever the installer asks for input (for example password for a user) , it does not interpret key inputs properly. 

  One example : When I type Sachin as a user name, the installer screen
  interprets it as Saachiin or Saccchhiiin.

  I have observed similar behavior post installation as well (while
  typing in VNC console)

  sachin at ubuntu:~$ cd /etcc/
  -bash: cd: /etcc/: No such file or directory
  sachin at ubuntu:~$ lls
  No command 'lls' found, did you mean:
  .....

  Steps to Reproduce
  =======================
  1. define and start the below xml for VNC based installation.
  [root at lep8a ISO]# qemu-img create -f qcow2 /var/lib/libvirt/images/manu/ubuntu14_10_VNC.qcow2 60G
  Formatting '/var/lib/libvirt/images/manu/ubuntu14_10_VNC.qcow2', fmt=qcow2 size=64424509440 encryption=off cluster_size=65536 lazy_refcounts=off

  
  [root at lep8a new]# virsh dumpxml GMT_ubuntu14_10_VNC
  <domain type='kvm'>
    <name>GMT_ubuntu14_10_VNC</name>
    <uuid>bd45e5dd-9c10-4729-9b9b-da8fe136a45d</uuid>
    <memory unit='KiB'>4194304</memory>
    <currentMemory unit='KiB'>4194304</currentMemory>
    <vcpu placement='static'>2</vcpu>
    <resource>
      <partition>/machine</partition>
    </resource>
    <os>
      <type arch='ppc64' machine='pseries'>hvm</type>
      <boot dev='hd'/>
      <boot dev='cdrom'/>
    </os>
    <features>
      <acpi/>
      <apic/>
      <pae/>
    </features>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <emulator>/usr/bin/qemu-system-ppc64</emulator>
      <disk type='file' device='disk'>
        <driver name='qemu' type='qcow2' cache='none'/>
        <source file='/var/lib/libvirt/images/manu/ubuntu14_10_VNC.qcow2'/>
        <target dev='hda' bus='virtio'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
      </disk>
      <disk type='file' device='cdrom'>
        <driver name='qemu' type='raw'/>
        <source file='/var/lib/libvirt/images/manu/ISO/utopic-server-ppc64el_oct6.iso'/>
        <target dev='sdb' bus='scsi'/>
        <readonly/>
        <address type='drive' controller='0' bus='0' target='0' unit='1'/>
      </disk>
      <controller type='usb' index='0'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
      </controller>
      <controller type='pci' index='0' model='pci-root'/>
      <controller type='scsi' index='0'>
        <address type='spapr-vio' reg='0x2000'/>
      </controller>
      <interface type='bridge'>
        <mac address='52:54:c0:a8:7a:68'/>
        <source bridge='brenP6p1s0f0'/>
        <model type='e1000'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
      </interface>
      <serial type='pty'>
        <target type='isa-serial' port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      </serial>
      <console type='pty'>
        <target type='serial' port='0'/>
        <address type='spapr-vio' reg='0x30000000'/>
      </console>
      <input type='keyboard' bus='usb'/>
      <input type='mouse' bus='usb'/>
      <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us'>
        <listen type='address' address='0.0.0.0'/>
      </graphics>
      <video>
        <model type='vga' vram='9216' heads='1'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
      </video>
      <memballoon model='virtio'>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
      </memballoon>
    </devices>
    <seclabel type='dynamic' model='selinux' relabel='yes'/>
  </domain>

  
  [root at lep8a new]# virsh start --console  GMT_ubuntu14_10_VNC
  Domain GMT_ubuntu14_10_VNC started
  Connected to domain GMT_ubuntu14_10_VNC
  Escape character is ^]

  SLOF **********************************************************************
  QEMU Starting
  .......

  2. verify the VNCport and enable the iptables on pkvm host to use the
  same.

  [root at lep8a ISO]# virsh vncdisplay GMT_ubuntu14_10_VNC
  :1
  [root at lep8a ISO]# firewall-cmd --add-port 1/tcp
  [root at lep8a ISO]#
  [root at lep8a ISO]# firewall-cmd --add-service=vnc-server
  Warning: ALREADY_ENABLED

  
  3. using the vncviewer try to connect to the <pkVMhostIP:1>
  the vncviewer connects and the install begins. I have used Vinagre (a remote desktop viewer for the GNOME desktop)
   
  Install ISO Information: utopic-server-ppc64el_Oct6.iso

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1378708/+subscriptions



More information about the foundations-bugs mailing list