Can't start plex server without GUI session on MacOS

Server Version#: v1.28.0.5999-97678ded3
Player Version#: N/A

2022-08-17 12:20:58.567 Plex Media Server[1525:15074] XType: com.apple.fonts is not accessible.
2022-08-17 12:20:58.567 Plex Media Server[1525:15074] XType: XTFontStaticRegistry is enabled.
2022-08-17 12:20:58.670 Plex Media Server[1525:15074] +[NSXPCSharedListener endpointForReply:withListenerName:]: an error occurred while attempting to obtain endpoint for listener 'ClientCallsAuxiliary':
Connection interrupted

When starting PMS over ssh on MacOS (Mac Mini M1) PMS hangs with the above stdout log. Workaround is to log into the MacOS using the UI. Then starting PMS over ssh works.

For context, I’m starting PMS using launchd on boot. Currently for this setup to work I need to enable automatic login which initializes the GUI session without password. This is not ideal.

This is essentially a dupe of this thread. The stderr logs are red herrings. The font message can be fixed by running:

launchctl load -w /System/Library/LaunchAgents/com.apple.fontd.useragent.plist

The ClientCallsAuxiliary error can be fixed by running plex as root. Resolving these issues however doesn’t make the plex server work. It just hangs. This is a bug in PMS.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.