LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-24-2012, 07:45 AM   #1
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 72
Is there a way to log this?


Say I need to go away from the keyboard for a time. I click on the 'padlock' button to lock the system, thus if anyone touches a key on the keyboard or moves the mouse, the little window pops up asking for the user password.

What I want to know is if there is a way to log if someone hits a key or moves the mouse and makes the system wake up from hibernate/suspend (this is a desktop, not an laptop system) *along with* an attempt(s) to type in a password.

This way I will know if someone made the system wake up, but got too scared to try to type in a password attempt.

I'm running Slackware 14, KDE/OpenBox and have it set so that a screensaver comes up after ten minutes of inactivity and then the system goes to sleep five minutes after that so that all there is is a blank, black screen.
 
Old 12-24-2012, 03:19 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
I don't know, but there is a log file for X events in /var/log/Xorg.0.log and in the conf file there is an option -logverbose. You may be able to crank up the logging and pick out the case that you want with a small script.
 
Old 12-24-2012, 04:40 PM   #3
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by smallpond View Post
I don't know, but there is a log file for X events in /var/log/Xorg.0.log and in the conf file there is an option -logverbose. You may be able to crank up the logging and pick out the case that you want with a small script.
I don't know how to make any kind of script, but I appreciate the point in a direction to look. Thanks and Merry Christmas!
 
Old 12-24-2012, 04:53 PM   #4
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware64/current
Posts: 175

Rep: Reputation: 44
i guess what you are looking for is a keylogger :-)

http://code.google.com/p/logkeys/

Funny project.

please report your experience, i will probably install this as well just to see if someone plays with my keyboard aswell! :P

Merry xmas!
 
Old 12-25-2012, 05:40 AM   #5
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by slacktroll View Post
i guess what you are looking for is a keylogger :-)

http://code.google.com/p/logkeys/

Funny project.

please report your experience, i will probably install this as well just to see if someone plays with my keyboard aswell! :P

Merry xmas!
Hey! Good idea, but was really hoping for something already internal for those times like I said that someone only moves the mouse, for instance, and it wakes up the machine but the person loses their nerve to do anything more - like type on the keyboard.

Thanks anyway. Hope Santa was good to you and yours.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fix "Please have a look at the log file for details: /var/log/jockey.log" harisuciha Linux - Hardware 3 04-29-2012 12:59 PM
kernel log format in /var/log/kern.log sinu_nayak2001 Linux - Newbie 2 10-07-2009 08:34 AM
In Apache server, How to change log file location and log format for access log fil? since1993 Linux - Server 1 08-19-2009 04:14 PM
Can Samhain log my entries in /var/log/secure and /var/log/mesage to a central server abefroman Linux - Software 2 04-13-2008 04:13 PM
Opennms Logs - where are web.log, web_rtc.log and webauth.log referenced? not_much_of_a_guru Linux - Networking 0 07-12-2006 10:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration