You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Big Sur logs out when connecting an external display

Hi all

I am using both a brand new MacBook Air M1 running Big Sur 11.2.3 and a late 2012 Mini connected via a KVM switch (DisplayPort) to the same monitor, keyboard and mouse.

  1. It hasn't been like a breeze at the beginning because the MBA is connected to a Thunderbolt 3 dock and I guess you know v11.1's bug with TB3. It has been addressed.
  2. The other issue that persists is the following:

After many trials and errors I understood that when I switch to the MBA (hence it's as if I connected a monitor to it), if it's running but closed Big Sur crashes. So I always open it whenever I switch to or from it.

Yet, even if the MBA is open when I switch to it Big Sur sends me this message:



It starts closing all applications. I did nothing but connecting a monitor to it. I didn't order it to log out.

As a matter of fact the application is not unresponsive. It's just that one of the documents was not saved so it stopped quitting. If I click the Cancel button the app stays open and I find all the documents that were saved are closed and the unsaved one is still open.

It's random. How to fix that? It's very annoying.

3.- Is there a way to use simultaneously both the external and the built-in displays and have two different images? For the time being it's one or the other.

TIA

Nick

Posted on Mar 22, 2021 7:35 AM

Reply
Question marked as Top-ranking reply

Posted on Mar 23, 2021 8:07 AM

Hi Saint112,


It sounds like you're getting automatically logged out of applications when connecting a monitor. We're glad you've joined us in Apple Support Communities, and we can provide some assistance.


Let's follow the steps in the section, "Check display support" of Use external monitors with your Mac and double-check that your monitor meets specifications.


If the issue remains after following those steps, let us know the make and model of your monitor. Also, let us know if "Prevent computer from sleeping automatically when the display is off" in System Preferences > Energy Saver. You may want to try toggling that and seeing if the opposite setting helps to resolve this issue.


We hope that helps with your question and take care!


Similar questions

9 replies
Question marked as Top-ranking reply

Mar 23, 2021 8:07 AM in response to Saint112

Hi Saint112,


It sounds like you're getting automatically logged out of applications when connecting a monitor. We're glad you've joined us in Apple Support Communities, and we can provide some assistance.


Let's follow the steps in the section, "Check display support" of Use external monitors with your Mac and double-check that your monitor meets specifications.


If the issue remains after following those steps, let us know the make and model of your monitor. Also, let us know if "Prevent computer from sleeping automatically when the display is off" in System Preferences > Energy Saver. You may want to try toggling that and seeing if the opposite setting helps to resolve this issue.


We hope that helps with your question and take care!


May 2, 2021 8:38 AM in response to jdo_apple

After more than a month here is my experience with the issue #2.


  1. It happens absolutely randomly: whether the external monitor is connected or not, or I put the MBA to sleep, or I closed the screen, or it just sits there staying idle.
  2. It can happen after a night, a couple of hours, or just half an hour.
  3. The culprit is obviously Big Sur because it can be any application:




I would be just slightly annoying if it weren't for LibreOffice because it does close the documents that are saved. So I found a trick: after saving a document, I add just a small change (a space) to make it unsaved. But I work on long and complex reports so I open several windows to be able to edit different sections simultaneously. When LibreOffice is ordered to quit it starts closing the windows in descending order until the first. So I can stop it but it has already closed all windows but one. I have to reopen them and find out where I was in my editing.


It's very annoying. I makes the look and feel unreliable.

Nick


My configuration:

MBA M1

RAM: 16GB

SSD: 512

Dock: AWC Thunderbolt 3


May 3, 2021 6:59 AM in response to steve626

Hi Steve, thanks for your input.


Here is my setup:


1 - MBA M1 with Mac OS 11.2.3


2 - Dock: OWC Thunderbolt 3.

OWC, like Belkin and other vendors, thrives on the market opened by Apple with the Malthusian policy of putting two TB3 ports only on MBs. While most PC laptops have a collection of different ports (USB A and C, RJ45, etc.) and a card reader, most MB users need a hub or a dock and there are plently of them. OWC is one of the high end makers that target specifically the MB market. I tend to trust their quality and the compatibility of their products with Macs. Failing to do so would be shooting their own foot.

It works on TB3 only. I tested it on PC with a USB C connection: only the RJ45 was working.

1.1. - TB3 connection MBA <-> Dock

Since the original cable is way too short I bought a longer one (~3ft):

NIMASO Cable Thunderbolt 3 1M 100W 5A/20V 40 Gbps Thunderbolt 3 USB C, braided Nylon for MacbookPro iMac, iMac Pro, etc.

It's rather expensive and seems to be a rather high-end product.

As a test I installed the original cable again.

1.2. - Peripherals on the dock:

1.2.1. - 1 USB A HD. Not new.

1.2.2. - 1 USB A SSD. Not new.

1.2.3. - 1 USB C SSD. Not new.

1.2.4. - 1 optical S/PDIF cable to a DAC (connected to an amplifier). Toslink is a one-way connection so it can't mess with anything upstream.

1.2.5 RJ45 Ethernet cable to the LAN switch/ WAN router.


3 - KVM:

Tendak DP 8K KVM 2x1 switch DisplayPort USB 2 Ports

A rather expensive, high-end device. I don't know if it has a firmware and if so if it's ugradable. It's plug and play and requires no driver. Works on Macs and PCs and in a mixed environment. It has a separate power supply so it's not powered by the USB cables.

2.1. - Video connection cable to the Dock: a new CABLEDECONN Mini DP to DisplayPort 8K 8K (7680x4320) @ 60Hz 4K @ 144Hz DisplayPort 1.4

2.2. - USB connection cable to the Dock: an ordinary used one.

2.3. - An Apple wired keyboard. Not new.

2.4. - A Logitech mouse. Not new.


4 - Mac Mini late 2012 with Mac OS 10.9.5

I keep this old fashioned setup because I still need some legacy softs that either are discontinued or I don't plan to upgrade. It's a handy backup too. Has worked for almost a decade without a glitch even though some years ago it fell from my desk on the floor while it was running.

It's connected to the KVM the same way.


5 - External monitor:

HP Pavilion QHD 32" (USB Type-C/USB 3.0. 2 560 x 1 440. 16:9. 60 Hz. 20 Ms)

Bought late 2019. Worked without a glitch since then whether with a Mac or a PC.


Quality of operations

All this stuff are either not new and never failed or new and rather high end.

All connections through the dock are nominal. I use simultaneously many of them:

  1. - The display on the monitor is perfect and constant whether with the Mini or the MBA.
  2. - KB and mouse work seamlessly.
  3. - I often use the USB C SSD for photo editing.

4. - Music is constantly playing without a glitch: Toskling requires a perfectly stable transfer rate, the DAC has no buffer and I doubt the dock has one. The only buffering device is the computer. I never heard an interruption or a change in the rate.

5. - Internet connection is perfect and very fast (I have an optical fiber Internet link).

All these data are transfered via the TB3 cable which obviously does a good job.


Some years ago I had a USB HD that had a faulty connection and would make the Mac crash. Everything was sent down the drain and the Mac would start up again. In the current case it's not a crash, it's an orderly shutting down of the MBA with Big Sur first odering applications to quit, each one obediently proceeding to close the open documents and gently asking the user if s/he wants to save them. It's the regular procedure. The question is: who gave the original order? I don't see how any of the connected devices could send the message: "Shut down". It doesn't look like a failure either. It looks like a system error.


Should I do clean re-install? I never did that. I don't how to do it and if it's relevant.


Nick

May 14, 2021 7:37 AM in response to Saint112

I tested some more configurations. The last one:

  • I disconnected the dock so nothing was plugged to the MBA.
  • I plugged in the charger.
  • In the System Preferences > Battery I set the Turn the display off after: option to Never to make sure the MBA wouldn't fall asleep.

Since the event happened when I came back exactly one hour later I could tell the time it took.

Conclusion: it's the System.

Nick


Mar 24, 2021 7:51 AM in response to jdo_apple

Thanks for your quick answer


About issue #2.

Since it's random it's difficult to determine the conditions that make it happen. Yet I noticed it seems to happen only with LibreOffice and only when it's in the forefront. It reminds me that with my Mini there was a similar issue: when putting it to sleep I used to switch off the monitor too. After waking it up LibreOffice used to remain frozen for at least 5 minutes: if it was in the forefront there was no way to do anything with it and if it was in the background it wouldn't come to the forefront. No other application had the issue. Then I accidentally noticed that, unlike what I thought, it was not because of the Mini being in sleep mode, it was because of the monitor being switched off. Strange, isn't it? So I would just put the Mini to sleep and it was fine.

So the issue #2 seems to actually concern LibreOffice and not Big Sur.


About issue #3.

Thanks for the tips. When I have more time I'll thoroughly study it.


Nick

May 2, 2021 9:45 AM in response to Saint112

It sounds like you have a OWC Thunderbolt 3 dock with the MBA M1 on Big Sur, plus the Mac Mini and MBA M1 are connected through the KVM for switching/sharing devices. What OS is the Mini running? What type of KVM? What types of monitor(s)? Is there firmware in the KVM? In the dock? Are these firmwares/devices known to be all compatible with Big Sur? (I assume the OWC device is, but it might need an update and you haven't provided any info about the KVM.)


I think for anyone to begin to try to understand what might be happening, you would need to provide more information about how everything is connected. Even just an intermittently bad cable or USB-C adaptor in the chain can cause these types of problems.


I think the first step is to try to isolate the issue in a systematic way. For instance, disconnect the dock entirely from the system, does the problem with the KVM still persist? This is to try to figure out if the issue comes from some undesired interaction between the KVM and OWC dock. If the problem still persists even without the dock, then I would disconnect the monitor entirely and see if the problem is gone. Eventually you should be able to determine which specific device, when left out of your "network," resolves the issue. Then you can look into incompatibilities or simply replace the incompatible device.


If the problem goes away when the dock is left out of the picture, then I would reconnect the dock with no peripherals attached and test again. If the problem is gone, then reconnect devices one at a time to see which one creates the issue. And so forth.

May 3, 2021 9:41 PM in response to Saint112

One Mac is running 10.9.5? That seems ancient. Does the Big Sur Mac problem occur if you switch between the two Macs but with the Mavericks (!) one powered off?


Your setup is far too complex for anyone to remotely troubleshoot. I suggest you disconnect peripherals systematically and see if you can get to a minimum configuration that repeats the problem or where the problem goes away.


The "orderly" shutdown might be Big Sur's attempt to have some sort of orderly crash (versus a kernel panic or total system freeze) in the face of an out of spec signal it is getting through one of these switches or docks from something (I'm suspicious of that older Mac with the ancient MacOS, which is why I suggested trying to reproduce the problem with the 10.9.5 Mac powered off).

May 7, 2021 3:32 AM in response to steve626

Hi Steve

Here my experience after a few days:

1 - I removed the after market TB3 cable connecting the Dock and plugged the cable that was bundled with it. At one point I was busy doing something else and the event happened after about half an hour. So the cable seems innocent. The MBA was not completely idle since it was playing music.

AFAIK, TB3 have a chip in their connectors which is probably why they are so expensive. So I was wondering if this chip might be responsible for sending signals leading to a log-out.

2 - Before closing the MBA for the night I ejected the volumes and disconnected the TB3 cable. The next morning nothing had happened. Since the logging-out is extremely random no conclusion can be drawn.

3 - I upgraded OS X to 11.3.1 and since then nothing has happened either.

Let's hope for the best. :-)

Nick

May 14, 2021 1:22 PM in response to Saint112

Saint112 wrote:

I tested some more configurations. The last one:
I• disconnected the dock so nothing was plugged to the MBA.
• I plugged in the charger.
In the System Preferences > Battery I set the Turn the display off after: option to Never• to make sure the MBA wouldn't fall asleep.
Since the event happened when I came back exactly one hour later I could tell the time it took.
Conclusion: it's the System.
Nick

So with the MacBook Air connected to nothing except the charger (no dock, no external display, no second Mac, no external disks, no switch, no external keyboard/mouse ...) when left alone it crashes after an hour? I think that is certainly unusual! I see Macs running Big Sur sleeping and waking for weeks on end without anything like that. I wonder if you have a hardware issue. Or software issue. Does this happen when booted into safe mode? Because Safe Mode turns off extensions and most third party software that runs in the background and if there is something installed that is incompatible with Big Sur, it could cause this. What have you installed in this Mac? Can you post an output from Etrecheck, others with more experience can read that and perhaps identify a culprit.

Big Sur logs out when connecting an external display

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.