Export to GitHub

fbterm - issue #17

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


Posted on Apr 15, 2009 by Quick Dog

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..

Comment #1

Posted on Apr 16, 2009 by Happy Horse

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".

Status: Invalid

Labels:
Type-Defect Priority-Medium