recognize automatic login


is there a possibility to tell, whether a normal login or an automatic
timeout-login occured?
I want to use this as follows: If a usual login occured, everything is
fine; otherwise the computer is likely to have been started
automatically to record some tv-programme, so kaffeine should be started
and the screen should be locked (gnome-screensaver-command -a).
Any other suggestions how to implement this are wellcome as well.

Best regards,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]