[Bug 1006676] Re: showkey fails with "Couldn't get a file descriptor referring to the console"

2017-08-22 Thread redtux
Hi there, I also just had the same problem on an Ubuntu 16.04.3 LTS box (with both zsh and bash, on tty and on pseudo terminal running X). Is it already known where this error message comes from, so we could change the string to something more convenient recommending the user to become root or to

[Bug 1006676] Re: showkey fails with "Couldn't get a file descriptor referring to the console"

2017-01-26 Thread Eric S. Raymond
I am the author of showkey. I only just became aware of this bug myself, by trying to run showkey in the terminal emulator under i3. The curious thing about it is that "Couldn't get a file descriptor referring to the console" does not occur as a string in the program source. I think something

[Bug 1006676] Re: showkey fails with "Couldn't get a file descriptor referring to the console"

2016-09-17 Thread Sondra Kinsey
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

[Bug 1006676] Re: showkey fails with Couldn't get a file descriptor referring to the console

2014-06-30 Thread WinEunuchs2Unix
Permission denied would follow terse convention. You must run as root would be verbose convention I think. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1006676 Title: showkey fails with Couldn't

[Bug 1006676] Re: showkey fails with Couldn't get a file descriptor referring to the console

2013-12-26 Thread Steven Van Maldeghem
Running the command with root privileges indeed solves this issue, at least in my case. Perhaps echoing Are you root? on exit 1 would practical for the end user. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1006676] Re: showkey fails with Couldn't get a file descriptor referring to the console

2012-12-20 Thread Vibhav Pant
showkey only works with root privileges. Did you try sudo showkey? ** Changed in: kbd (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1006676 Title:

[Bug 1006676] Re: showkey fails with Couldn't get a file descriptor referring to the console

2012-06-08 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: kbd (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1006676 Title: