Slow connection after computer wakes from suspend/hibernate

Forums / NoMachine for Linux / Slow connection after computer wakes from suspend/hibernate

  • This topic has 5 replies, 3 voices, and was last updated 1 year ago by wlima.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #34913

    Hey, I’ve been using NoMachine for a few weeks now and I have this annoying problem. My setup is:

    NoMachine server on an Ubuntu 20.04 machine.

    NoMachine player on Windows 10

    I connect from the Windows computer to the Ubuntu. Usually this works absolutely fine. However, since I don’t like leaving my computer turned on at night I use the pm-utils lib to either hibernate or suspend my Ubuntu machine. I then wake it up using Wake-on-lan and connect through NoMachine. Both the machines are here at my house at the same network.

    What happens is that after waking the Ubuntu machine up sometimes the connection becomes extremely slow (each command I send takes more than 3 seconds to actually execute). It’s unusable basically. So what I have to do is restart my Ubuntu machine and then it works flawlessly again. But this is very annoying as I lose my current setup.

    What I have tried:
    Restart the NoMachine server
    Restart the NoMachine player
    Change the codec being used by NoMachine on the server
    Killing the NoMachine processes manually on the server

    Note that when I ping my Ubuntu server in this state I still get fast responses (<1ms) so it’s not the connection.

    Anyone have any ideas as to what may be causing this problem or how I may go about debugging or resolving it?


    Hi wlima,

    Did you try to use that machine locally, by physically accessing it instead of through NoMachine, when it is in that suspend/hibernate state? When you did this, did it work without any problems?



    Yes, it works normally.


    Hi wlima,

    It looks like you are experiencing the same problem as described in this topic:

    Can you try the workaround mentioned in the thread (“Changing the resolution of the server and restoring it back is solving the issue”) and let us know if it also applies to your case? This will help us understand if the issue is actually the same. Thanks!



    in the meanwhile we reproduced something similar in our labs, but we would need a confirmation. Do you have the possibility to physically look at the server monitor while reproducing the slowness in the NoMachine session? Is the monitor in stand-by mode?


    Hi, I just reproduced this again. I don’t use a monitor on the Ubuntu machine, I use a headless display adapter (HDMI). I plugged in a monitor when it was slow and it seemed to resolve the issue. I didn’t experience the slowness anymore.

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

This topic was marked as solved, you can't post.