Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix runaway varargs list crashing "loginctl terminate-session" callHEADmaster | Simon Rettberg | 2024-03-01 | 1 | -1/+1 |
| | |||||
* | Improve idle time tracking wrt xscreensaver activity | Simon Rettberg | 2023-01-11 | 1 | -13/+17 |
| | |||||
* | Fix session id detection on newer systemd | Simon Rettberg | 2023-01-11 | 1 | -2/+7 |
| | |||||
* | Add --logout-is-shutdown flag | Simon Rettberg | 2022-09-30 | 1 | -2/+14 |
| | |||||
* | Cap sleep time to 5 after RPC activityv29r2v29r1 | Simon Rettberg | 2022-01-14 | 1 | -1/+5 |
| | |||||
* | Fix sleep time calculation for logout timeout as well | Simon Rettberg | 2020-10-13 | 1 | -2/+2 |
| | |||||
* | Add usercount to RPC, simplify timing calculation | Simon Rettberg | 2020-10-12 | 4 | -22/+27 |
| | |||||
* | Fix potential strcmp() overflow, better packed struct for pipe | Simon Rettberg | 2020-10-08 | 2 | -10/+11 |
| | |||||
* | Tweak session killing, don't try login process right away | Simon Rettberg | 2020-04-23 | 1 | -3/+3 |
| | |||||
* | Fix null pointer access | Simon Rettberg | 2020-04-23 | 1 | -1/+1 |
| | |||||
* | Use original deadline if user logged outv26 | Simon Rettberg | 2020-01-15 | 1 | -3/+21 |
| | | | | | | | We add 300 seconds to the deadline if a user is currently logged in. Even if the user logs out immediately, we still wait those extra 5 minutes. Add ugly code to immediately trigger the shutdown (or whatever) in that case. | ||||
* | Try to wake up screen when showing X11 warning | Simon Rettberg | 2019-11-18 | 1 | -0/+3 |
| | |||||
* | rpc: Account for wall clock changes | Simon Rettberg | 2019-11-18 | 1 | -1/+2 |
| | |||||
* | Don't poll .no-saver if dpms and screen saver are disabled | Simon Rettberg | 2019-11-15 | 1 | -1/+2 |
| | |||||
* | Formatting | Simon Rettberg | 2019-11-15 | 1 | -1/+1 |
| | |||||
* | Show idle time in RPC reply | Simon Rettberg | 2019-11-13 | 1 | -2/+3 |
| | |||||
* | Handle duplicate entries in utmp for X sessions | Simon Rettberg | 2019-10-22 | 1 | -9/+35 |
| | |||||
* | Guess proper dbus socket | Simon Rettberg | 2019-10-21 | 1 | -0/+17 |
| | |||||
* | Add feature to clean up user processes after logout | Simon Rettberg | 2019-10-18 | 3 | -10/+39 |
| | |||||
* | Fix fd leak | Simon Rettberg | 2019-07-11 | 1 | -1/+3 |
| | |||||
* | Slightly more consistent naming | Simon Rettberg | 2019-06-12 | 5 | -18/+18 |
| | |||||
* | Add RPC method "warn" to show messge to users | Simon Rettberg | 2019-06-12 | 5 | -3/+27 |
| | | | | Only usable by root. | ||||
* | Make sure user promptly sees warning when using RPC | Simon Rettberg | 2019-05-23 | 1 | -3/+4 |
| | |||||
* | Refine timings | Simon Rettberg | 2019-05-15 | 2 | -15/+19 |
| | |||||
* | Support user disabling saver + dpms | Simon Rettberg | 2019-05-14 | 2 | -5/+11 |
| | |||||
* | Better align warning messages with full minute | Simon Rettberg | 2019-05-14 | 1 | -11/+15 |
| | |||||
* | Fix DPMS timeout calculation | Simon Rettberg | 2019-05-14 | 1 | -1/+1 |
| | |||||
* | f() -> f(void) | Simon Rettberg | 2019-05-14 | 4 | -8/+8 |
| | |||||
* | Enforce minimum delay for RPC actions if user is active | Simon Rettberg | 2019-05-14 | 1 | -7/+21 |
| | |||||
* | Less debug spam | Simon Rettberg | 2019-05-14 | 2 | -2/+4 |
| | |||||
* | Retry loginctl show-session | Simon Rettberg | 2019-05-14 | 2 | -0/+4 |
| | | | | | | Sometimes we try to query a session too soon after login. The session is already present in utmp, but not known to logind yet. Retry for those cases. | ||||
* | Properly cap sleep after RPC call | Simon Rettberg | 2019-05-13 | 1 | -0/+5 |
| | |||||
* | Support --min-idle | Simon Rettberg | 2019-05-13 | 1 | -5/+17 |
| | | | | | Requires a minimum amount of user idle time before performing a scheduled reboot/poweroff if a user is logged on. | ||||
* | Add reboot/kexec/poweroff via RPC | Simon Rettberg | 2019-05-13 | 4 | -140/+286 |
| | |||||
* | Initial commit | Simon Rettberg | 2019-05-10 | 12 | -0/+1667 |