

This ability, enabled by default in the free edition of NoMachine, can be activated also in the commercial versions (see instructions for the Enterprise Desktop at the end of this article).Ī specific case which leads to black screen on Linux is when the X server is running but it is not rendering because the video card is turned off.

NoMachine is able to detect when the X server is not running and run its own virtual display, which is an embedded X server.

Here is a snippet from the log: at .Throw()Īt .HandleNonSuccessAndDebuggerNotification(Task task)Īt _69.MoveNext()ġ6:46:25.8280688 liblinux.RemoteSystemBase: Connecting over SSH to 1.1.1.122:22ġ6:46:25.9764914 liblinux.IO.RemoteFileSystemImpl: Connecting over SFTP to 1.1.1.122:22ġ6:46:26.2342926 liblinux.HostKeyVerifier: Connection failed.ġ6:46:26.2342926 liblinux.HostKeyVerifier: : Channel was closed.Īt (WaitHandle waitHandle, Int32 millisecondsTimeout)Īt .OnChannelOpen()Īt ()Īt (BaseClient client)ġ6:46:26.2342926 liblinux.IO.RemoteFileSystemImpl: Connection failure over SFTP to 1.1.1.122:22ġ6:46:26.2401438 liblinux.IO.RemoteFileSystemImpl: : Channel was closed.Īt liblinux.IO.RemoteFileSystemImpl.ConnectCore()ġ6:46:26.2401438 liblinux.RemoteSystemBase: Disconnecting over SSH from "1.1.1.122:22"ġ6:46:57.2404501 : Begin executing: C:\WINDOWS\System32\wsl.exe -list -verboseġ6:46:57.3575925 : End executing: C:\WINDOWS\System32\wsl.exe exitcode: 0 duration: 00:00:00.NoMachine is designed to work out-of-the-box on Linux headless machines provided a desktop environment is installed. Why is VS 2022 wanting to connect over that as well as SSH? My custom Linux VM doesn't have SFTP currently. My CMakeSettings.json file is set to use rsync for file transfers, so I should have to use SFTP. I can connect to it via SSH from the Windows Admin command line, but VS 2022 wants to connect via SFTP as well as SSH, and since the device doesn't have SFTP, the connection fails. I'm trying to connect Visual Studio 2022 to a Linux machine for remote CMake compiling and debugging.Īttempting to connect to a new Virtual Machine is failing.
