Run Plex as a service on Mac. AnyDesk can

It’s been years now. It shouldn’t be that hard to run Plex as a service without having to log in.
AnyDesk on Mac can install as a service, so what about doing the same for Plex?
It would convince me to become a paid user again.

As mentioned in Starting PMS at boot (not at login) - #3 by udance4ever by
silicontrip_gmail_com

Feb '21

The issue isn’t trying to create the appropriate LaunchDaemon .plist file, it is the fact that the Plex binary is using a “Regular” activation policy in the NSApp ActivationPolicy property, which allows it to appear in the Dock and display windows. When no user is logged the application cannot connect to the dock or display server. This then causes PMS to hang. The fix is to change NSActivationPolicyRegular to NSActivationPolicyProhibited (and remove any code that talks to the display server, including sending an Apple Event to launch http://localhost:32400/web/) and for that we need the code, which only Plex have access to, so the ball is in their court.

There’s already an existing feature suggestion discussing an option to run PMS as a daemon / service. I suggest you comment/vote in that thread in order to help us avoid distracting or cannibalizing votes.

I’ll therefore close this thread as a duplicate.

1 Like

2022 clean-up: duplicate