OSXvnc
OSXvnc copied to clipboard
VineServer Failed
We are using vine server version 5.3.1, on Monterey version 12.4, but facing some issues with vine server failing to quit popup, which is not restarting the machines

Can somebody please check the above issue, as it creating problem for us in restarting the machines as machine is getting stuck because of this popup.
It should be possible to kill the running VineServer process and then restart the machine.
@stweil can you help with any script(python or applescript) or a command to kill the running vine server before we restart the machine?
MacOS comes with pkill
(kill process by name) which might be sufficient for this job.
An alternative approach could be to use launchd. At startup, you will create a daemon using launchd. It will do nothing but only wait for SIGTERM signal. When the signal is received, it will execute a shell script to pkill the Vine Server.
Disclaimer: I haven’t gone in-depth with this approach. I found it on Stackoverflow. You can Google to find your solution. You will need to use “Daemons and Services Programming Guide” on Apple Developer website.
On Jun 28, 2022, at 8:01 AM, Stefan Weil @.***> wrote:
MacOS comes with pkill (kill process by name) which might be sufficient for this job.
— Reply to this email directly, view it on GitHub https://github.com/stweil/OSXvnc/issues/53#issuecomment-1168840176, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALC7M6NG5BMYSQ3BCAD7Q3VRMHTNANCNFSM5XNAMNGA. You are receiving this because you are subscribed to this thread.