mRemoteNG / mRemoteNG/mRemoteNG

Value cannot be null. (Parameter 'stream')

Open
#2,577 10 comments 1 reaction 1 assignee View on GitHub

@Kvarkas is already working on this.

Since Apr 10, 2024.

1.77.3 Need 2 check VNC
Dominant language
C#
Stars
11.1k
Forks
1.6k
Avg merge
16h 58m
Merged PRs (30d)
55

Description

Expected Behavior

That the RemoteDesktop Connect method works without errors.

Current Behavior

When using VNCSharp this method was working fine but the performance was very bad. I upgraded my project to .NET Core 8.0 and used VNCSharpCore instead.

// Create a new RemoteDesktop control
RemoteDesktop newRd = new RemoteDesktop();
vncPanel.Controls.Add(newRd); // Add the new control to the panel
newRd.Dock = DockStyle.Fill;

try
{
// Connect
newRd.Connect(ipAddress, true, true); // Adjust parameters as needed
// Optionally, handle disconnections or other events here
newRd.ConnectionLost += (sender, e) =>
{
MessageBox.Show("Connection lost.");
};
}
catch (Exception ex)
{
MessageBox.Show($"Failed to connect: {ex.Message}"); //fails here with the error in the title.
}

Possible Solution

I need to know what this Parameter 'stream' is so I can fix it.

Steps to Reproduce (for bugs)

Not sure as it's specific to our environment.

Context

Trying to make a grid of all our Linux devices where all VNC Clients are visible in the grid in real time over a local network at 1 Gbps.

Your Environment

VNC Servers are running on Linux, client can simply connect with IP address.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.