Remote Desktop Flashing Issue Due to Screen Capture Engine Switching Desktops in AnyViewer
1. Issue
After establishing a control connection with the remote computer, if you do not operate the remote computer, the remote desktop window will flash for about one minute.
2. Cause
By analyzing the logs, I found that AnyViewer’s screen capture engine was constantly switching desktops. But I don’t know what caused this operation.
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\desktop\updatehandlerimpl.cpp(156): Switch DXGI screen driver
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(182): enter thread:3608
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(182): enter thread:9416
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(58): Failt to Open Desktop (error = 2)
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to S desktop unsuccessfully
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to W desktop successfully
2025-02-18 17:06 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to D desktop successfully
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(216): exit thread:3608
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(216): exit thread:9416
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(216): exit thread:9036
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\desktop\updatehandlerimpl.cpp(156): Switch DXGI screen driver
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(182): enter thread:11068
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\thread.cpp(182): enter thread:5068
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\desktop\updatehandlerimpl.cpp(156): Switch GDI screen driver
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(58): Failt to Open Desktop (error = 2)
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to S desktop unsuccessfully
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to W desktop successfully
2025-02-18 17:07 [ERROR] e:\workdir\vc\remotectrl\thread\desktopselector.cpp(140): Switch to D desktop successfully
3. Solution
Restart AnyViewer on the controlled end.