How to Fix an Error in Syslog Regarding Mirror Displays?

System log files show the latest activities of the system applications and its services. Such files can be used by those users who fall on the high end of the tech savviness spectrum to interpret the inner workings of their macOS system, thereby opening an avenue for quickly identifying and fixing computer ailments as well as removing their underlying causes. Daily messages produced by a MacBook or Mac desktop can be accessed via the Console, which is a utility that helps a user to sift through a vortex of log messages. Whenever an app or system process acts unexpectedly, it is always a good idea to start investigating the issue by assessing generated log messages.

Hunting an error in the system log is only the first step in the long process of identifying its underlying causes and, ultimately, resolving the issue. A case in point is the recurring system log message that reads as follows “Nov 2 14:12:01 iMac com.apple.xpc.launchd [1] (com.apple.preference.displays.MirrorDisplays): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.” The message comes in handy when a user wants to detect an error in their system; however, not all Mac owners are equipped with a skill set necessary to decipher the message and take appropriate steps to make sure that it does not appear again.

What has to be kept in mind when encountering the MirrorDisplays error is that although the issue does not seem to introduce apparent performance hindrances, it should not be ignored by a user. It has to do with the fact that the endless loop of errors drains the battery and consumes additional CPU resources. The aim of this article is to present Mac owners with the simple solution to the issue, thereby decreasing the impact of the error on their battery.

Disable Mirroring Option

The issue is grounded in Mac’s ability to operate with an additional display, which can be used as a standalone screen or continuous desktop. However, due to the subpar quality of High Sierra 10.13.1 code, some users can get the MirrorDisplays error message, even though they do not use an additional monitor. The first way of solving the issue of the erroneous detection of an additional monitor consists of the following steps:

  1. Open the Apple Menu and go to the System Preferences;
  2. Choose the Displays option and click on the Arrangement tab;
  3. Uncheck the Mirror Display box in the lower left corner of the window;
  4. Uncheck the box next to “Show mirroring options in the menu bar when available”;
  5. Reboot the Mac.

After the Mac is rebooted, the recurring log output should disappear.

Modify the LaunchAgent file

Another solution of the problem is through the modification of the LaunchAgent file. To this end:

  1. Boot the system into recovery mode by restarting the computer and holding Command + R when it boots;
  2. Once in the recovery environment, go the Application folder and open the Utilities folder;
  3. Start the Terminal application (it can also be done through the Spotlight search);
  4. Type the following command verbatim: csrutil disable;
  5. Press the Return button;
  6. To enable the new settings, reboot the computer;
  7. Launch the Terminal application and edit the plist file by running the following command: sudo vi /System/Library/LaunchAgents/com.apple.preference.displays.MirrorDisplays.plist
  8. Press the Return button;
  9. Look for the <string>Aqua</string> line and change it to <!– <string>Aqua</string>   –>
  10. Press the Return button;
  11. Reboot the Mac while holding Command + R when it boots;
  12. Open the Terminal and enter the following command: csrutil enable;
  13. Press the Return button;
  14. Restart the Mac.
Sidebar



logo image Is your Mac compatible? Run a scan and clean it in a few clicks Check it Out