Disconnects after a few seconds

Forum / NoMachine for Windows / Disconnects after a few seconds

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #37188

    In order to provide remote assistance to older family members, I installed NoMachineNX free on their Windows 10 PC.

    Since they use a default account without a password (don’t get me started on bad security practices, I know), I configured a secondary admin account (with a very safe password) and removed admin privileges from the default account.

    Since NoMachine (rightfully) will not let me log into the system without a password, I’m using the secondary admin account to connect.

    The connection establishes successfully – I see their Win10 desktop but after a few seconds, the connection freezes (I get a spinner) and sometimes briefly reconnects, only to then disconnect again after a few seconds.

    I’m connecting from my wired Ubuntu 20.04 workstation via LAN so any routing issues seem very unlikely to me.

    The nxerror.log of the admin user shows a repetition of these errors:

    2576 15136 09:21:04 579.246 Io/Io: WARNING! Descriptor FD#2384 type socket still open at exit.

    2576 15136 09:21:04 579.246 Socket: ERROR! Network cleanup failed.

    2576 15136 09:21:04 579.246 Socket: Error is 22 ‘Invalid argument’.

    Error: Network cleanup failed.

    Error: Error is 22 ‘Invalid argument’.

    This block repeats every minute or so, where the Descriptor FD number changes.

    One of the ‘session’ files show this at around the same timestamp:

    (see attached ‘session’ file)

    This clearly shows the session being disconnected and re-connecting.

    How do I fix this?


    Second try – here’s the session file (now renamed to .txt so it will hopefully not trip security).


    Some more info – I tried the following to fix the issue:

    • Re-install NoMachine on Win10 machine – no effect
    • Set a password for the non-admin user and try to connect using that user – no difference.

    What else could be causing this?


    Hi, thanks for submitting the additional information. We’re not aware of similar behaviour.

    To understand why it’s happening we would need to see a full set of logs, from both sides so a set from your Ubuntu client and then from the Windows computer which you are connecting to.

    Please see here for instructions. https://knowledgebase.nomachine.com/AR10K00697

    You can send attachments directly to forum[at]nomachine[dot]com using the topic title as the subject of your email.


Viewing 4 posts - 1 through 4 (of 4 total)

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.