immense / Remotely

A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
GNU General Public License v3.0
4.5k stars 1.61k forks source link

Ubuntu - Remote Image not showing #449

Open RecursiveProgrammer opened 2 years ago

RecursiveProgrammer commented 2 years ago

Describe the bug New tab for window appears, but the remote image is not showing. The inputs to the remote machine work, however.

To Reproduce

Remotely Version Server (can be found on about page): Version: 2021.08.26.1335

Agent (can be found in device card): 2021.03.25.2059

Expected Behavior Image showing remote system

Screenshots Screenshot from 2022-01-18 16-16-56

Desktop (please complete the following information): uname -a Linux zeus-Windowsxp 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

RecursiveProgrammer commented 2 years ago

Assuming CaptureProcessor.ts is CaptureProcessor.js (I lack the knowledge on whether this is actually the case, so please inform me as to where the .ts version comes from and how the application knows to use .js):

console.log (BitmapQueue.length)

Response:

Uncaught ReferenceError: BitmapQueue is not defined

CaptureProcessor.ts is new (in regards to the old version I am used to using).

RecursiveProgrammer commented 2 years ago

For giggles, I am seeing if adding a breakpoint in javascript would reveal information. I suspect the issue might be data.sequence. Screenshot from 2022-01-18 17-06-05

RecursiveProgrammer commented 2 years ago

the variable data is assigned by: completedFrame.FrameData, which does not have a sequence attribute.

The variable completedFrame comes from: BitmapQueue.shift();, which is a declared array which is to contain hashes. The format is (pulling from line 14):

ImageContent: bitmap,
                FrameData: captureFrame

I am thinking that, perhaps, HandleCaptureReceived is never called.

Maybe the image is never sent? (I am not sure what the next step would be: what file is used to send the image from the server to the client's browser? Then the next previous step: what code sends the screenshot of the remote client to the server?)

MrMEEE commented 2 years ago

https://github.com/immense/Remotely/issues/428 - Guess this is related

Wicketsound commented 2 years ago

Dumb question... Do you have a monitor connected to the remote machine? It won't work without a monitor or a "fake monitor"-dongle

RecursiveProgrammer commented 2 years ago

Dumb question... Do you have a monitor connected to the remote machine? It won't work without a monitor or a "fake monitor"-dongle

It is connected to an actual monitor.