Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Why do I have empty log files after I start the keylogging process? I am using Ubuntu 13.04 and here are the steps I took:

touch test.log
sudo logkeys -s -o test.log

I would test it out by typing random words on the google bar and searching other stuff. I would also open up another terminal and type:

tail --follow test.log

where I would also type in random words. After this, I stopped logkeys by this code:

sudo logkeys -k

Then I would look at my log file to see if it worked and saw that it was blank! Is there any way that I can fix this so I can be able to view my logs?

share|improve this question

closed as off-topic by Sneetsher, karel, Eric Carvalho, Seth Jul 4 at 18:45

This question appears to be off-topic. The users who voted to close gave these specific reasons:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Eric Carvalho, Seth
  • "This question is specific to an end of life Ubuntu release. These are no longer supported and are therefore off-topic here. To upgrade, see: How to install software or upgrade from old unsupported release?" – Sneetsher, karel
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Still need an answer? –  Seth Jul 4 at 18:45

1 Answer 1

You must open the log file as root. Enter this in the terminal:

sudo gedit /var/log/logkeys.log
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.