OSXvnc icon indicating copy to clipboard operation
OSXvnc copied to clipboard

VineServer Failed

Open Satish-KYadav opened this issue 2 years ago • 5 comments

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

image

Satish-KYadav avatar May 31 '22 10:05 Satish-KYadav

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.

riteshcgk avatar Jun 08 '22 21:06 riteshcgk

It should be possible to kill the running VineServer process and then restart the machine.

stweil avatar Jun 09 '22 06:06 stweil

@stweil can you help with any script(python or applescript) or a command to kill the running vine server before we restart the machine?

riteshcgk avatar Jun 28 '22 14:06 riteshcgk

MacOS comes with pkill (kill process by name) which might be sufficient for this job.

stweil avatar Jun 28 '22 15:06 stweil

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.

sddiv avatar Jun 28 '22 15:06 sddiv