# Can't start plex server without GUI session on MacOS

**URL:** <https://forums.plex.tv/t/cant-start-plex-server-without-gui-session-on-macos/804802>\
**Category:** Plex Media Server\
**Tags:** server-mac\
**Created:** [August 17, 2022, 10:49am UTC](https://forums.plex.tv/t/cant-start-plex-server-without-gui-session-on-macos/804802 "2022-08-17T10:49:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lemourin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lemourin/32/285245_2.png) [@lemourin](https://forums.plex.tv/u/lemourin)\
**Post date:** [August 17, 2022, 10:49am UTC](https://forums.plex.tv/t/cant-start-plex-server-without-gui-session-on-macos/804802/1 "2022-08-17T10:49:43Z")

</div>

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![lemourin](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/lemourin/32/285245_2.png) [@lemourin](https://forums.plex.tv/u/lemourin)\
**Post date:** [August 23, 2022, 11:33am UTC](https://forums.plex.tv/t/cant-start-plex-server-without-gui-session-on-macos/804802/2 "2022-08-23T11:33:51Z")

</div>

This is essentially a dupe of this [thread](https://forums.plex.tv/t/i-really-need-the-ability-to-launch-plex-media-server-on-boot-up/76684/33). 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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [November 21, 2022, 11:34am UTC](https://forums.plex.tv/t/cant-start-plex-server-without-gui-session-on-macos/804802/3 "2022-11-21T11:34:10Z")

</div>

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