We are developing a lightweight VPN client inside a daemon process that will run even when no user session is active on machine. The lightweight VPN runs in machine context and does not require user session. We would like to display some basic diagnosis information about our lightweight client on macOS login window before user is logged into their machine (in case users need that).
So, is it possible to display a UI window on login screen with some basic info that user can interact with. If yes, where can I get started?
Please note, this is not an authorization plugin. We are just wanting to display info about our process that runs a lightweight VPN client on macOS login screen.
Oh, wow, lemme dust off TN2228 Running At Login. Its intro describes a number of techniques you can use to run during the login process. The best approach depends on whether you want your UI to be synchronised with the login process or not. It sounds like you don’t, in which case a pre-login agent is the best choice.
And that leads to another very dusty resource, the PreLoginAgents sample code.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"