Forum / NoMachine for Linux / Slow connection after computer wakes from suspend/hibernate
- This topic has 5 replies, 3 voices, and was last updated 3 years, 1 month ago by wlima.
-
AuthorPosts
-
August 19, 2021 at 18:24 #34913wlimaParticipant
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 serverNote 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?
August 20, 2021 at 17:09 #34937CarinParticipantHi 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?
August 20, 2021 at 17:40 #34938wlimaParticipantYes, it works normally.
August 30, 2021 at 15:48 #35021CarinParticipantHi 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!
September 6, 2021 at 11:28 #35131fra81ModeratorHi,
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?
September 17, 2021 at 15:32 #35334wlimaParticipantHi, 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.
-
AuthorPosts
This topic was marked as solved, you can't post.