[Bug 1006676] Re: showkey fails with "Couldn't get a file descriptor referring to the console"
Sondra Kinsey
1006676 at bugs.launchpad.net
Sat Sep 17 23:58:00 UTC 2016
I agree that a more helpful error message would be helpful here. I am an
experience Ubuntu terminal user. However, it is not intuitive to me that
showkey should require root privileges. I would not have guessed this as
a solution to resolve this error.
A new error message could take several forms:
Current user cannot access a file descriptor referring to the console.
Permission denied.
You must run as root user.
Are you root?
I personally prefer the most descriptive and helpful:
Current user cannot access a file descriptor referring to the console. Perhaps you intended to run this as root?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to kbd in Ubuntu.
https://bugs.launchpad.net/bugs/1006676
Title:
showkey fails with "Couldn't get a file descriptor referring to the
console"
Status in kbd package in Ubuntu:
Invalid
Bug description:
When invoked in Gnome Terminal 3.0.1 (Ubuntu 11.10), showkey
uninformatively exits after reporting:
"Couldn't get a file descriptor referring to the console"
For one who doesn't know what this means (such as myself), showkey is
thus rendered unusable. The man page has no information about this
behaviour.
Installed kbd package: 1.15.2-3ubuntu1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kbd/+bug/1006676/+subscriptions
More information about the foundations-bugs
mailing list