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.67k stars 511 forks source link

Can't see desktop on multiple MacOS devices when "locked" #6152

Open ramphex opened 1 month ago

ramphex commented 1 month ago

Describe the bug A clear and concise description of what the bug is.

MeshCentral: 1.1.24

One device is on MacOS 12.7.1, second device is on MacOS 14.5. When attempting to view the desktop of either device while it's on login/lock screen, the result is always a black screen and the input is not registered. Once logged in/unlocked the desktop shows up fine only after disconnecting and reconnecting and then input also works correctly.

Posting in both MeshCentral and MeshAgent as I'm not sure what is at fault here, feel free to close the one in the wrong category.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...' MacOS Device in any group
  2. Click on '....' Desktop
  3. Scroll down to '....' Connect
  4. See error Black screen if device you're trying to connect to is on lock/login screen

Expected behavior A clear and concise description of what you expected to happen. Expect to see a desktop in order to type in the password and login

Screenshots If applicable, add screenshots to help explain your problem.

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

{
  "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  "settings": {
    "MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
    "cert": "meshcentral.mydomain.com",
    "certUrl": "https://meshcentral.mydomain.com",
    "TLSOffload": "traefik IP",
    "WANonly": true,
    "LANonly": false,
    "_sessionKey": "MyReallySecretPassword1",
    "port": 443,
    "aliasPort": 443,
    "redirPort": 80,
    "_redirAliasPort": 80,
    "CookieIpCheck": false
  },
  "domains": {
    "": {
      "title": "MeshCentral",
      "_title2": "",
      "_minify": true,
      "_newAccounts": true,
      "_userNameIsEmail": true,
      "certUrl": "https://meshcentral.mydomain.com"
    }
  }
}