Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.12k stars 552 forks source link

Switching users while remote desktop freezes screen #6039

Open samschultzponsys opened 5 months ago

samschultzponsys commented 5 months ago

Describe the bug Switch user activity freezes remote VNC, if choosing disconnect and reconnect only a black screen. Have to restart service to bring things back online

To Reproduce Steps to reproduce the behavior:

  1. Initiate remote VNC session, if incorrect windows user is logged in and switch user is chosen the session will freeze (this is normal in my experience with VNC outside of mesh central)
  2. At this point if you choose disconnect, and then even if you wait for a moment and hit connect again the viewer will show two connected but just a black screen.
  3. Using tools to restart the agent then fixes this issue.

Expected behavior If switch user has to continue to freeze the vnc session, if disconnect and reconnect can at least work that would be amazing.

Screenshots went to grab a screen gif recording and of course issue isnt happening on the agents I picked to test with.

Server Software (please complete the following information):

Client Device (please complete the following information):

Remote Device (please complete the following information):

Additional context Add any other context about the problem here.

Your config.json file I can provide my config if deemed necessary.

si458 commented 5 months ago

Do you mean the web-vnc? Or the normal desktop connect button?

If it's the desktop connect button, then it's normal for the screen to freeze when changing users due to the way the screen capture works.

Simple fix is to just disconnect, wait a few seconds then connect and u get the desktop again :)

samschultzponsys commented 5 months ago

When I choose the agent, then the desktop tab, then choose connect. Waiting a second does not seem to work very often probably 1 out of 10, the other 9 times I get a (2 users connected) and a black screen. Then I have to restart the agent and its working normally. I tried to capture a gif but of course its fine when i want to actually record it.