kajgan / fbterm

Automatically exported from code.google.com/p/fbterm
0 stars 0 forks source link

Can't use Ctrl-Alt-C,D, Shift-PageUp/Down with normal user in Debian #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
All the special keys are not recognized. I don't know why, I added the 
user into group fbdev, fbterm launches.

Addtionally, with Shift-PageUp, I find the real tty was flipped up, but 
the fbterm does nothing..

With root, all works..

Original issue reported on code.google.com by yangzhe1990@gmail.com on 15 Apr 2009 at 11:07

GoogleCodeExporter commented 8 years ago
FbTerm tries to change linux kernel keymap table to setup shortcuts, which 
requires 
SYS_TTY_CONFIG capability. It means FbTerm should be a setuid 0 program to 
allow non-
root users to use shortcuts.

If you really don’t like this, and have a recent linux kernel with filesystem 
capabilities enabled, which allow user to give binaries a subset of root’s 
powers 
without using setuid 0, you can run command "sudo setcap 
’cap_sys_tty_config+ep’ /
path/to/fbterm".

Original comment by zgchan...@gmail.com on 16 Apr 2009 at 3:54