MAYA: MAYA fails to render on OS X based render nodes, why?

If no user is logged in on the Mac OS X platform, then rendering might fail with the following message:

INIT_Processeses(), could not establish the default connection to the WindowServer

There are two workarounds to avoid this situation:

  • Login the EnFuzion user permanently;
  • Set the ownership of the Maya Render command to root with the following commands:
    cd /Applications/Alias/maya7.0/Maya.app/Contents/bin
    sudo chmod +s Render
    sudo chown root Render