Slow connection after computer wakes from suspend/hibernate

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34913
    wlima
    Participant

    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?

    #34937
    Carin
    Participant

    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?

     

    #34938
    wlima
    Participant

    Yes, it works normally.

    #35021
    Carin
    Participant

    Hi wlima,

    It looks like you are experiencing the same problem as described in this topic: https://forums.nomachine.com/topic/nomachine-time-lag-after-remote-computer-inactivity-lock-screen-2

    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!

    #35131
    fra81
    Moderator

    Hi,

    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?

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

You must be logged in to reply to this topic.