timekpr - Keep control of computer usage

Can not make timekpr working on Ubuntu 11.10

Asked by Ivan Georgiev on 2012-01-02

I have tried several times to make it work on my son's PC but in vain. The GUI seams fine and I can change restrictions, however it doesn't turn off the account as it is supposed to do after time limit is reached.
Any help will be much appreciated.

Thanks in advance.

Ivan

Question information

Language:
English Edit question
Status:
Answered
For:
timekpr Edit question
Assignee:
No assignee Edit question
Last query:
2012-01-02
Last reply:
2012-01-02
benoit747 (steiner-commerce) said : #1

i have the same probleme
i've found this topic about this problem : (not in french or english... :-) )

I will try this soluce this evening and i will come back

Ubuntu 11.10

Unter Ubuntu 11.10 ist der Einsatz problematisch (siehe 881098). Mit LightDM werden die Sperren erst aktiv, wenn man in einem Editor [3] mit Root-Rechten die Datei /etc/pam.d/lightdm öffnet und die folgende Zeile einfügt

account required pam_time.so

Zusätzlich muss man auch noch die letzte Zeile der Datei /etc/xdg/autostart/timekpr-client.desktop um Unity erweitern:

OnlyShowIn=GNOME;XFCE;KDE;Unity;

Falls der Daemon die verbliebene Restzeit nicht herunterzählt, muss er noch mit folgendem Befehl gestartet werden [4]:

sudo /etc/init.d/timekpr start

Zur Anzeige des Panel-Symbols siehe oben.

Osmo Laitinen (osmo-laitinen) said : #2

Same instructions in English and for 12.04 as well!:
https://answers.launchpad.net/timekpr/+question/188436

Can you help with this problem?

Provide an answer of your own, or ask Ivan Georgiev for more information if necessary.

To post a message you must log in.