VNC based installation does not interpret key strokes correctly.

Bug #1378708 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Expired
Undecided
Unassigned

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@ubuntu:~$ cd /etcc/
-bash: cd: /etcc/: No such file or directory
sachin@ubuntu:~$ lls
No command 'lls' found, did you mean:
.....

Steps to Reproduce
=======================
1. define and start the below xml for VNC based installation.
[root@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@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@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@lep8a ISO]# virsh vncdisplay GMT_ubuntu14_10_VNC
:1
[root@lep8a ISO]# firewall-cmd --add-port 1/tcp
[root@lep8a ISO]#
[root@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

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-117245 severity-high targetmilestone-inin1410
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1378708/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Luciano Chavez (lnx1138)
affects: ubuntu → ubiquity (Ubuntu)
Revision history for this message
Phillip Susi (psusi) wrote :

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?

affects: ubiquity (Ubuntu) → qemu (Ubuntu)
Changed in qemu (Ubuntu):
status: New → Incomplete
bugproxy (bugproxy)
tags: added: targetmilestone-inin1504
removed: targetmilestone-inin1410
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu (Ubuntu) because there has been no activity for 60 days.]

Changed in qemu (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.