Bug 150070 - I can not change keybord layout with loadkeys
Summary: I can not change keybord layout with loadkeys
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Juergen Weigert
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 21:21 UTC by Ladislav Michnovic
Modified: 2006-02-13 17:48 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ladislav Michnovic 2006-02-10 21:21:01 UTC
In console when I try to change keybord layout, use of loadkey is unsucsesfull.

$loadkeys cz
Loading /usr/share/kbd/keymaps/i386/qwerty/cz.map.gz
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
Keymap 3: Permission denied
Keymap 4: Permission denied
Keymap 5: Permission denied
Keymap 6: Permission denied
Keymap 7: Permission denied
Keymap 8: Permission denied
Keymap 9: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 10

$loadkeys us
Loading /usr/share/kbd/keymaps/i386/qwerty/us.map.gz
Keymap 0: Permission denied
Keymap 1: Permission denied
Keymap 2: Permission denied
KDSKBENT: Operation not permitted
loadkeys: could not deallocate keymap 3
Comment 1 Michael Gross 2006-02-13 13:40:14 UTC
With what user have you tried this? Does it work for root?
You might create a backtrace here.
Comment 2 Ladislav Michnovic 2006-02-13 15:44:58 UTC
I ran it as local user. As root it works.
Comment 3 Michael Gross 2006-02-13 15:50:48 UTC
I'm not quite sure if using keymap as normal user is intended to work, IMHO I would say no.
Juergen?
Comment 4 Juergen Weigert 2006-02-13 17:48:43 UTC
That is correct. Loadkeys interfaces a lowlevel kernel interface, that is only available for the root user. Sorry.

The main reason is probably security. The kernel would not know when a users logs out. His tuned keymap may do weird things to the next user.

Works as designed.