Message 1 of 46
Maya headless command line rendering

Not applicable
08-06-2018
09:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
We have an issue with trying to render on networked macs via the command line.
We're using the Render call, generally located at /Applications/Autodesk/maya2018/Maya.app/Contents/MacOS/Render on OSX with s, e, proj and rd flags.
The error we're getting currently is:
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. Assertion failed: (err == kCGErrorSuccess), function +[_NSCGSTransaction initialize], file /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1561.60.100/CGS.subproj/NSCGSTransaction.m, line 241.
This error only occurs if a user isn't logged in - we know apple released a security update back in March 2018 that prevented access to the window server while on the login prompt.
Does anyone know a way to work around this? Is there some flag we can tell Maya to not access the window server so we can run it in an headless state?