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
3.97k stars 535 forks source link

macos noVNC screen not refreshing #3667

Open brettgilmer opened 2 years ago

brettgilmer commented 2 years ago

I am having an issue when trying to use noVNC on macOS. I enter the password, then I get a mostly blank screen. The area just under the pointer will get updated, slowly, but there is never a full screen refresh. I have tried meshcentral 0.9.84 and 0.9.62

Any logs I can collect?

krayon007 commented 2 years ago

I see this issue happening too. I think there was a recent update to the webvnc module we were using in the browser... Looking into it.

Ylianst commented 2 years ago

I see the same problem, looking into it.

image

Ylianst commented 2 years ago

Interesting... if I try to connect to TightVNC server, it works.

image

lyinfu commented 1 year ago

Hi @Ylianst , I'm not sure but we could possibly try updating noVNC to version 1.4.0 to check if the problem has been resolved. These two issues also suggests on noVNC updates: #4928 #2603

si458 commented 1 year ago

@lyinfu i have created a PR to update novnc to 1.4.0 for you #5220 but i havent tested it! so please clone my repo and use the patch-1 branch and test first!

lyinfu commented 1 year ago

@lyinfu i have created a PR to update novnc to 1.4.0 for you #5220 but i havent tested it! so please clone my repo and use the patch-1 branch and test first!

Thank you Simon! I will try from my end.

lyinfu commented 1 year ago

Hi @si458 ,

I've tried your patch-1 branch, but a connection error (1005) occurred. Please see the console logs attached:

image image

I've tried the new noVNC page on both safari 14.1.2 and also the newest chrome, so I guess it's not a browser problem. After rolling back, I could successfully connect to my device.

P.S. I saw that you just changed the content under directory public/novnc/ in your PR, so I fully replaced everything under node_modules/meshcentral/public/novnc/ according to your branch and then restarted the service. If this is not correct way, please let me know. Thank you.

si458 commented 1 year ago

Hmm... Will have a look tomorrow for you...