LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2014, 01:10 PM   #1
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
VM on suse linux doesn't accept keyboard char correctly


Hi all

I got this suse setup that's almost finished but virt-viewer and virt-manager doesn't seem to be able to parse my keyboard input correctly.

Example:
What I type is " or /
What I get is @ or 7

Suse host's keyboard setting is already confirmed to be en-US, and that works perfectly.

The VM itself's keyboard is also en-US, but when I ran the yast and tried to test the layout, it exhibits the same problem of wrongly interpreting my keystrokes.

Right now I got a patchy work around by using en-UK, at least so I can have my " and let me echo stuff.

But I need a more permanent fix for this. And it is still mis-interpreting a lot of other keys. for example, with the en-UK my + is now some other character.


Thanks guys

Last edited by jzoudavy; 04-17-2014 at 01:13 PM.
 
Old 04-17-2014, 04:31 PM   #2
hotchili
Member
 
Registered: Sep 2009
Location: Germany
Distribution: slackware64-current
Posts: 89

Rep: Reputation: 32
Hello,

I guess virt-viewer connects via vnc? If so I had a similiar problem with libvirt/qemu.

The solution was to set a keymap for vnc in the configuration. Not sure how that works
with virt-manager maybe there is a gui setting for it.
But with libvirt you can add something like this to the xml config (notice the keymap, de is german qwertz layout)

Code:
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='de'>
      <listen type='address' address='127.0.0.1'/>
</graphics>
 
  


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
[SOLVED] Monitor doesn't accept Linux voip4africa Linux - Hardware 9 03-28-2010 10:02 AM
pc doesn't accept keyboard kpachopoulos General 2 08-29-2005 03:20 PM
My linux doesn't accept (only) windows telnet ! Third Angel Linux - Networking 3 10-17-2004 06:57 PM
Keyboard doesn't work correctly in kde or gnome dokterneo Slackware 2 08-15-2003 08:09 AM

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

All times are GMT -5. The time now is 09:23 AM.

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