summaryrefslogtreecommitdiffstats
path: root/core/modules/idleaction/data
Commit message (Collapse)AuthorAgeFilesLines
* Big round of cleanupSimon Rettberg2024-05-231-2/+2
| | | | | | | | | - Remove a lot of TODOs, either by fixing them or because they became irrelevant - Change all git:// to https:// - Move hwreport and hwinfo from /run to /run/openslx - Minor script style cleanups - Remove dead code and functions in various scripts
* [idleaction] Delete rm of unused flag-fileSimon Rettberg2024-01-171-6/+0Star
|
* [idleaction] Log shutdown/reboot/.. details in exam modeSimon Rettberg2023-12-142-0/+42
| | | | | | We have a report about spurious reboots of machines in exam mode while in use, so try to rule out that this was caused by idle-daemon logic by logging any such action it would perform through a wrapper script.
* [idleaction] Add commentsSimon Rettberg2022-10-041-1/+5
|
* [idleaction] Make auto-logout = shutdown when auto-login is enabledSimon Rettberg2022-09-301-0/+11
|
* [...] Don't allow locking autologin/guest sessions eitherSimon Rettberg2022-07-181-0/+2
|
* [idleaction/xscreensaver] Disllow locking for exam mode/browser loginsSimon Rettberg2022-07-181-1/+9
|
* [etherwake/idleaction] Try harder to enable WOLSimon Rettberg2021-07-091-0/+3
| | | | | | | | | It was reported that WOL is disabled at runtime on some machines, even though there is a udev rule in place that enables it right when the interfaces get registered. We can only assume this is a race condition with adapter initialization, but worst case something else is running that is interfering with the WOL setting. Now we forcefully re-enable WOL at boot, every hour, and before standby, for good measure.
* [*] Remove "export PATH..." -> DefaultEnvironment= in system.conf.dSimon Rettberg2020-09-231-1/+2
| | | | | | Since we can set PATH for everything spawned by systemd, this boilerplate code is not needed anymore. Makes future changes much easier.
* [idleaction] Disable screensaver in remoteaccess modeSimon Rettberg2020-09-231-3/+12
|
* [idleaction] Remove leading zeros in secsToTimeSimon Rettberg2019-11-191-4/+5
| | | | Accidental octal values...
* [idleaction] .no-saver is not available yet in Xession.dSimon Rettberg2019-11-182-2/+3
| | | | | Generate .xscreensaver as if saver is allowed, then when we check what the user selected in vmchooser, patch .xscreensaver if necessary.
* [xscreensaver/idleaction] Let xscreensaver manage standby again...Simon Rettberg2019-11-182-9/+46
|
* [idleaction] Stop logind from killing user processes on logoutSimon Rettberg2019-10-181-2/+1Star
| | | | | | | This turned out to be a little too agressive; We run some async jobs on session close that were killed by logind. Defer the process cleanup until idle-daemon sees that the user doesn't have any more open sessions.
* [idleaction] Pass --kill-user-processes by defaultSimon Rettberg2019-10-181-0/+3
|
* [*] Use logind.conf to kill user processesSimon Rettberg2019-05-241-0/+7
| | | | | Get rid of old, brittle script in pam session close that would do wonky stuff to kill stray user processes.
* [idleaction] Write screensaver hint file on vmchooser session startSimon Rettberg2019-05-141-0/+12
| | | | | | vmchooser's sessionstart sets an environment var to tell us whether we should enable the screen saver for a particular user. Honor this var and write or delete the flag file idle-daemon depends on.
* [xscreensaver/idleaction] DPMS handled by idle-daemonSimon Rettberg2019-05-143-0/+63
|
* [idleaction] Refine exam mode shutdown/reboot timingSimon Rettberg2019-05-131-9/+10
| | | | | | | | | | Keep existing schedule entries (we have --min-idle 7200) but add entries for 23:00 and 4:00 to non-empty schedules. We might skip a tightly scheduled entry due to --min-idle, e.g. an exam lasts until 19:30 and the schedule says poweroff at 20:00. We'll miss that entry if the user didn't log out before, since two hours didn't pass yet. If the schedule was empty however, do nothing, since it might be desired that the machines keep running until they die.
* [idleaction] Fix .service fileSimon Rettberg2019-05-131-1/+1
|
* [xscreensaver/idleaction] Use idle-daemonSimon Rettberg2019-05-137-384/+106Star
|
* [idleaction] Allow root access to displaySimon Rettberg2019-04-301-0/+6
|
* [idleaction] Force screen on; sanity check for shutdownDeadlineSimon Rettberg2018-10-182-1/+5
|
* [idlescript] Insanity ensues, slowlySimon Rettberg2018-10-171-6/+6
|
* [xscreensaver/vmware12] Support ungrab hooks, work around idletime resetSimon Rettberg2018-10-172-3/+19
| | | | | | vmware ungrab code has to fake mouse cursor movement, resetting PC idle time :-( - Now we can't record the PC idle time the moment the screen saver turned on anymore, since it will be reset at that point.
* [idleaction] Update shutdown timestamp on scheduled actionSimon Rettberg2018-10-121-0/+15
| | | | | | | In case a shutdown/reboot/... is manually triggered (i.e. via web interface), the according timestamp won't be in the idleaction hint file for the xscreensaver hack. Update the timestamp in case a reboot is imminent, so the screeensaver can update the countdown.
* [idleaction] Move idle-file to /run/openslx/...Simon Rettberg2018-10-121-1/+2
|
* [idleaction/kiosk] Don't wait 5 minutes for demo to logoutSimon Rettberg2018-10-121-1/+5
|
* [idleaction] Remember lock time and reset idletime if changedSimon Rettberg2018-10-121-10/+18
| | | | | | If a user unlocks the session and locks it again within two minutes, the idle timeout will not be reset. Even worse, this also happens when you manage to logout and in (as a different user) within two mins.
* [idleaction] Account for 5 minute delay when calculating shutdownSimon Rettberg2018-10-121-1/+6
| | | | | | | The screensaver info is off by 5 minutes for reboot/shutdown, since there's an additional delay of 5 minutes if someone's logged in. Always add those 5 minutes, since the message will only ever be seen if someone is actually logged in.
* [idleaction] Delete $RUNFILE on session killSimon Rettberg2018-10-121-0/+2
|
* [idleaction] Lower cron interval from 5 to 2 minutesSimon Rettberg2018-10-111-1/+1
| | | | | This should qield more accurate feedback, especially now that we have the xscreensaver hack giving user feedback.
* [xscreensaver] Build bwlp-screensaverSimon Rettberg2018-10-111-8/+58
|
* [mgmt-sshd] Don't use PAM stackSimon Rettberg2018-05-141-1/+3
| | | | Closes #3364
* [idleaction] Add kexec-reboot supportSimon Rettberg2018-04-251-3/+3
|
* Forgot fith fcriptSimon Rettberg2018-03-221-0/+2
|
* Fix UID/USER ambiguity in several placesSimon Rettberg2018-01-181-1/+3
|
* [idleaction] Fix detection of X sessions for warningsSimon Rettberg2017-12-011-1/+1
|
* [idleaction] Timing fixesSimon Rettberg2017-11-292-1/+3
|
* [idleaction] Fix shutdown after wakeup when cron tries to catch upSimon Rettberg2017-11-273-8/+36
|
* [idleaction] Fix active user countingSimon Rettberg2017-11-271-4/+17
|
* [idleaction] Log to slx-admin if standby is not supportedSimon Rettberg2017-11-271-1/+4
|
* [idleaction] Set wakeup alarm two minutes early to prevent raceSimon Rettberg2017-11-261-2/+8
| | | | | | | | | If the wakeup is scheduled exactly at the time a scheduled shutdown is, the cronjob for the shutdown would not run, as the client is still about to wake up at that time. If we wake up two minutes early, the cron daemon should have enough time to fully wake up, notice the clock jump, and then finally trigger the scheduled shutdown.
* [idleaction] Support suspendSimon Rettberg2017-11-267-26/+124
|
* [idleaction] Support detached and delayed operationSimon Rettberg2017-04-111-57/+94
|
* merge with latest dev versionSebastian2016-04-253-0/+222