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.99k stars 537 forks source link

Mouse still working if use Remote Input Lock #6294

Open Raito00 opened 1 month ago

Raito00 commented 1 month ago

Describe the bug When use Remote Input lock option on Laptops or TV Info screens (runing windows 11) user keyboard is locked but still can use mouse

To Reproduce Connect remote desktop and activate remote Input Lock

Expected behavior I expect also mouse will be locked.

Server Software (please complete the following information):

Client Device (please complete the following information):

Remote Device (please complete the following information):

si458 commented 1 month ago

just tested here and works perfectly fine? Microsoft Windows 11 Pro - 23H2/22631 how are u locking the remote input? (just checking its nothing silly like wrong button) just tried safari, firefox and chrome, all good?

Raito00 commented 1 month ago

just tested here and works perfectly fine? Microsoft Windows 11 Pro - 23H2/22631 how are u locking the remote input? (just checking its nothing silly like wrong button) just tried safari, firefox and chrome, all good?

On desktop PC working ok - Problem is on remote Laptops (mouse pads) Locking using Button: image

Tested Chrome, Mozzilla - The same problem

si458 commented 1 month ago

so does it work (locking keyboard/mouse) on a normal desktop? and just doesnt work on a laptop?

edit: sadly i dont have any windows 11 laptops anymore, only macbook pro, so going to be very hard to replicate your issue

Raito00 commented 1 month ago

so does it work (locking keyboard/mouse) on a normal desktop? and just doesnt work on a laptop?

edit: sadly i dont have any windows 11 laptops anymore, only macbook pro, so going to be very hard to replicate your issue

Yes, doesnt work on laptop

si458 commented 1 month ago

ive just got an old laptop, 2nd gen 4gb ram, 128gb ssd, (Microsoft Windows 11 Pro - 23H2/22631) installed meshagent on it, locked keyboard/mouse cant move trackpad or type anything, no issues here?

does ur laptop have maybe an external mouse attached maybe?

can you share your config.json?

is the user for meshcentral you are using an admin account or normal user with group/mesh permissions set etc?

Raito00 commented 1 month ago

No external mouse on laptop.

But the same problem is on Public TV info Display. - Keyboard Locked but Mouse working SETUP: Dell Inc. 0KYWH7 A01 CPU 13th Gen Intel® Core™ i5-13500T GPU Intel® UHD Graphics 770 Microsoft Windows 11 Pro - 23H2/22631 Display HDMI with USB touchscreen

config.json

{
  "$schema": "http://info.meshcentral.com/downloads/meshcentral-config-schema.json",
  "settings": {
    "cert": "rd.test.gg",
    "MongoDb": "mongodb://127.0.0.1:27017/meshcentral",
    "_mongoDbChangeStream": true,
    "mongoDbBulkOperations": true,
    "WANonly": true,
    "_LANonly": true,
    "sessionKey": "GG",
    "port": 443,
    "_aliasPort": 443,
    "redirPort": 80,
    "_redirAliasPort": 80,
    "mpsAliasPort": 443,
    "mpsAliasHost": "mps.test.gg",
    "_BrowserPing": 50,
    "BrowserPong": 55,
    "AgentPing": 50,
    "_AgentPong": 110,
    "TLSOffload": false,
    "_IgnoreAgentHashCheck": true,
    "SelfUpdate": false,
    "AllowFraming": "false",
    "manageCrossDomain": [ "user//gg" ],
    "TrustedProxy": ["10.10.0.50", "10.10.0.1", "cloudflare"],
    "WebRTC": "true"
  },
  "domains": {
    "": {
      "title": "TEST",
      "_title2": "Servername",
      "_minify": true,
      "NewAccounts": "false",
      "_userNameIsEmail": true,
      "certUrl": "https://rd.test.gg:443/",
      "_maxDeviceView": 30,
            "httpHeaders": {
        "Strict-Transport-Security": "max-age=2592000",
        "x-frame-options": "SAMEORIGIN",
        "Referrer-Policy": "no-referrer",
        "X-XSS-Protection": "1; mode=block",
        "X-Content-Type-Options": "nosniff",
        "Content-Security-Policy": "default-src 'none'; font-src 'self'; script-src 'self' 'unsafe-inline'; connect-src 'self' *.openstreetmap.org wss://rd.test.gg; img-src 'self' blob: data: *.openstreetmap.org data:; style-src 'self' 'unsafe-inline'; frame-src 'self' blob: mcrouter: https://rd.test.gg; media-src 'self'; form-action 'self'; manifest-src 'self'"
      },
      "agentCustomization": {
        "displayName": "Agent",
        "description": "GG",
        "_companyName": "GG",
        "_serviceName": "GG",
        "fileName": "GG",
        "image": "rd-logo.png",
        "installText": "GG",
        "image": "rd-logo.png"
        },
      "passwordRequirements": {
        "min": 8,
        "max": 128,
        "upper": 1,
        "lower": 1,
        "numeric": 1,
        "nonalpha": 1,
        "_reset": 90,
        "force2factor": true,
        "email2factor": true,
        "_skip2factor": "127.0.0.1,192.168.51.0/24",
        "oldPasswordBan": 5,
        "banCommonPasswords": false,
        "twoFactorTimeout": 300
        },
      "userConsentFlags": {
        "desktopnotify": true,
        "_terminalnotify": true,
        "filenotify": true,
        "desktopprompt": true,
        "_terminalprompt": true,
        "_fileprompt": true,
        "desktopprivacybar": true
      },
      "consentMessages": {
        "title": "GG",
        "desktop": "{0}  - GG",
        "consentTimeout": 15,
        "autoAcceptOnTimeout": true
      },
      "desktopPrivacyBarText": "GG: {0}"
  },
  "serveris": {
      "title": "GG",
      "_title2": "Servername",
      "_minify": true,
      "NewAccounts": "false",
      "_userNameIsEmail": true,
      "certUrl": "https://rd.test.gg:443/",
      "_maxDeviceView": 30,
            "httpHeaders": {
        "Strict-Transport-Security": "max-age=2592000",
        "x-frame-options": "SAMEORIGIN",
        "Referrer-Policy": "no-referrer",
        "X-XSS-Protection": "1; mode=block",
        "X-Content-Type-Options": "nosniff",
        "Content-Security-Policy": "default-src 'none'; font-src 'self'; script-src 'self' 'unsafe-inline'; connect-src 'self' *.openstreetmap.org wss://rd.test.gg; img-src 'self' blob: data: *.openstreetmap.org data:; style-src 'self' 'unsafe-inline'; frame-src 'self' blob: mcrouter: https://rd.test.gg; media-src 'self'; form-action 'self'; manifest-src 'self'"
      },
      "agentCustomization": {
        "displayName": "GG 2",
        "description": "GG2.",
        "_companyName": "GG2",
        "_serviceName": "GG2",
        "fileName": "GG2",
        "image": "rd-logo.png",
        "installText": "GG",
        "image": "rd-logo.png"
        },
      "passwordRequirements": {
        "min": 8,
        "max": 128,
        "upper": 1,
        "lower": 1,
        "numeric": 1,
        "nonalpha": 1,
        "_reset": 90,
        "force2factor": true,
        "email2factor": true,
        "_skip2factor": "127.0.0.1,192.168.51.0/24",
        "oldPasswordBan": 5,
        "banCommonPasswords": false,
        "twoFactorTimeout": 300
        },
      "userConsentFlags": {
        "desktopnotify": true,
        "_terminalnotify": true,
        "filenotify": true,
        "_desktopprompt": true,
        "_terminalprompt": true,
        "_fileprompt": true,
        "desktopprivacybar": true
      },
      "_consentMessages": {
        "_consentTimeout": 15,
        "_autoAcceptOnTimeout": true
      },
      "desktopPrivacyBarText": "GG: {0}"
      }
  },
  "_letsencrypt": {
    "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before>",
    "_email": "myemail@mydomain.com",
    "_names": "myserver.mydomain.com",
        "production": false
  },
  "smtp": {
    "host": "GG",
    "port": 465,
    "from": "GG",
    "user": "GG",
    "pass": "GG",
    "tls": true,
    "_verifyEmail": false
  }
}
si458 commented 1 month ago

Display HDMI with USB touchscreen i think the meshagent only stops devices like ps2/usb mouses n touchpads, i dont think it stops physical touches on screens! i would have to setup a machine with a serial touchscreen to test this out

si458 commented 6 days ago

is this still an issue as it doesnt happen with vms/physical servers/physical hardware/laptops in my testing?