Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Big round of cleanup | Simon Rettberg | 2024-05-23 | 1 | -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-file | Simon Rettberg | 2024-01-17 | 1 | -6/+0 |
| | |||||
* | [idleaction] Log shutdown/reboot/.. details in exam mode | Simon Rettberg | 2023-12-14 | 2 | -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 comments | Simon Rettberg | 2022-10-04 | 1 | -1/+5 |
| | |||||
* | [idleaction] Make auto-logout = shutdown when auto-login is enabled | Simon Rettberg | 2022-09-30 | 1 | -0/+11 |
| | |||||
* | [...] Don't allow locking autologin/guest sessions either | Simon Rettberg | 2022-07-18 | 1 | -0/+2 |
| | |||||
* | [idleaction/xscreensaver] Disllow locking for exam mode/browser logins | Simon Rettberg | 2022-07-18 | 1 | -1/+9 |
| | |||||
* | [etherwake/idleaction] Try harder to enable WOL | Simon Rettberg | 2021-07-09 | 1 | -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.d | Simon Rettberg | 2020-09-23 | 1 | -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 mode | Simon Rettberg | 2020-09-23 | 1 | -3/+12 |
| | |||||
* | [idleaction] Remove leading zeros in secsToTime | Simon Rettberg | 2019-11-19 | 1 | -4/+5 |
| | | | | Accidental octal values... | ||||
* | [idleaction] .no-saver is not available yet in Xession.d | Simon Rettberg | 2019-11-18 | 2 | -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 Rettberg | 2019-11-18 | 2 | -9/+46 |
| | |||||
* | [idleaction] Stop logind from killing user processes on logout | Simon Rettberg | 2019-10-18 | 1 | -2/+1 |
| | | | | | | | 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 default | Simon Rettberg | 2019-10-18 | 1 | -0/+3 |
| | |||||
* | [*] Use logind.conf to kill user processes | Simon Rettberg | 2019-05-24 | 1 | -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 start | Simon Rettberg | 2019-05-14 | 1 | -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-daemon | Simon Rettberg | 2019-05-14 | 3 | -0/+63 |
| | |||||
* | [idleaction] Refine exam mode shutdown/reboot timing | Simon Rettberg | 2019-05-13 | 1 | -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 file | Simon Rettberg | 2019-05-13 | 1 | -1/+1 |
| | |||||
* | [xscreensaver/idleaction] Use idle-daemon | Simon Rettberg | 2019-05-13 | 7 | -384/+106 |
| | |||||
* | [idleaction] Allow root access to display | Simon Rettberg | 2019-04-30 | 1 | -0/+6 |
| | |||||
* | [idleaction] Force screen on; sanity check for shutdownDeadline | Simon Rettberg | 2018-10-18 | 2 | -1/+5 |
| | |||||
* | [idlescript] Insanity ensues, slowly | Simon Rettberg | 2018-10-17 | 1 | -6/+6 |
| | |||||
* | [xscreensaver/vmware12] Support ungrab hooks, work around idletime reset | Simon Rettberg | 2018-10-17 | 2 | -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 action | Simon Rettberg | 2018-10-12 | 1 | -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 Rettberg | 2018-10-12 | 1 | -1/+2 |
| | |||||
* | [idleaction/kiosk] Don't wait 5 minutes for demo to logout | Simon Rettberg | 2018-10-12 | 1 | -1/+5 |
| | |||||
* | [idleaction] Remember lock time and reset idletime if changed | Simon Rettberg | 2018-10-12 | 1 | -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 shutdown | Simon Rettberg | 2018-10-12 | 1 | -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 kill | Simon Rettberg | 2018-10-12 | 1 | -0/+2 |
| | |||||
* | [idleaction] Lower cron interval from 5 to 2 minutes | Simon Rettberg | 2018-10-11 | 1 | -1/+1 |
| | | | | | This should qield more accurate feedback, especially now that we have the xscreensaver hack giving user feedback. | ||||
* | [xscreensaver] Build bwlp-screensaver | Simon Rettberg | 2018-10-11 | 1 | -8/+58 |
| | |||||
* | [mgmt-sshd] Don't use PAM stack | Simon Rettberg | 2018-05-14 | 1 | -1/+3 |
| | | | | Closes #3364 | ||||
* | [idleaction] Add kexec-reboot support | Simon Rettberg | 2018-04-25 | 1 | -3/+3 |
| | |||||
* | Forgot fith fcript | Simon Rettberg | 2018-03-22 | 1 | -0/+2 |
| | |||||
* | Fix UID/USER ambiguity in several places | Simon Rettberg | 2018-01-18 | 1 | -1/+3 |
| | |||||
* | [idleaction] Fix detection of X sessions for warnings | Simon Rettberg | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | [idleaction] Timing fixes | Simon Rettberg | 2017-11-29 | 2 | -1/+3 |
| | |||||
* | [idleaction] Fix shutdown after wakeup when cron tries to catch up | Simon Rettberg | 2017-11-27 | 3 | -8/+36 |
| | |||||
* | [idleaction] Fix active user counting | Simon Rettberg | 2017-11-27 | 1 | -4/+17 |
| | |||||
* | [idleaction] Log to slx-admin if standby is not supported | Simon Rettberg | 2017-11-27 | 1 | -1/+4 |
| | |||||
* | [idleaction] Set wakeup alarm two minutes early to prevent race | Simon Rettberg | 2017-11-26 | 1 | -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 suspend | Simon Rettberg | 2017-11-26 | 7 | -26/+124 |
| | |||||
* | [idleaction] Support detached and delayed operation | Simon Rettberg | 2017-04-11 | 1 | -57/+94 |
| | |||||
* | merge with latest dev version | Sebastian | 2016-04-25 | 3 | -0/+222 |