LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 11-14-2009, 07:40 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Keyboard problems: virt-manager fails, but kvm from the command line works


Hi all.


On my Ubuntu box running KVM, I've installed a couple of virtual machines (VMs) running Fedora and Ubuntu. Booting these VMs from virt-manager, I get problems with keyboard layout. When booting the same VMs by issuing for example "kvm -hda /var/lib/libvirt/images/ubuntu1.img -m 256 -net nic -net user -soundhw all" the keyboard layout is correct.

I'm running my VMs with a norwegian keyboard layout, but I've run into the same problem when configuring them with english keyboard layout.

Does anyone know what the difference between booting the VMs from virt-manager VS booting them from the command line as described above is? I'm puzzled by why the command line approach works, while to virt-manager approach doesn't when it comes to this keyboard layout problem.


Regards,
kenneho
 
Old 11-14-2009, 11:11 AM   #2
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Original Poster
Rep: Reputation: 40
Solved

I found a workaround here: https://bugs.launchpad.net/ubuntu/+s...er/+bug/348364

By running virsh and removing the the reference to keymap in the VM's XML definition, everything works great. It's should be possible to do this in the GUI as well. If anyone knows how to make this default on new VMs please do let me know.


Regards,
kenneho
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash script works from command line, fails from cron cmfarley19 Linux - General 4 08-14-2009 12:24 PM
LXer: KVM Guest Management With Virt-Manager On Ubuntu 8.10 LXer Syndicated Linux News 0 02-10-2009 02:50 PM
KVM + qemu + virt-manager issues cyanide_will Linux - Software 4 04-15-2008 01:43 AM
KVM switch - only mouse OR keyboard works. rose_bud4201 Linux - Hardware 1 08-17-2007 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration