Forum / NoMachine for Mac / Disconnect every 20 minutes
- This topic has 5 replies, 2 voices, and was last updated 4 years, 2 months ago by fisherman.
-
AuthorPosts
-
June 8, 2020 at 10:40 #28001mv.calderParticipant
I am connecting from Ubuntu to a Mac Mini. About 2 sessions out of 3 (not all) I experience a disconnect, the disconnections happen regularly, every 20 minutes. I assume there is some process somewhere doing something that the NoMachine process doesn’t like but I haven’t been able to track it down. Does this sound familiar to anyone? Any suggestions on what to look for?
Here’s what I see in the server log on the Mac:
2020-06-04 12:21:01 815.323 59210 NXSERVER User ‘matt’ from ‘192.168.1.187’ logged out.
2020-06-04 12:21:19 386.660 59272 NXSERVER User ‘matt’ logged in from ‘192.168.1.187’ using authentication method NX-password.
2020-06-04 12:41:26 093.002 59272 NXSERVER User ‘matt’ from ‘192.168.1.187’ logged out.
2020-06-04 12:42:24 000.862 59296 NXSERVER User ‘matt’ logged in from ‘192.168.1.187’ using authentication method NX-password.
2020-06-04 13:02:31 300.860 59296 NXSERVER User ‘matt’ from ‘192.168.1.187’ logged out.
2020-06-04 13:03:26 814.033 59312 NXSERVER User ‘matt’ logged in from ‘192.168.1.187’ using authentication method NX-password.
And the error log for that time:
Info: Handler started with pid 59272 on Thu Jun 4 12:21:19 2020.
Info: Handling connection from 192.168.1.187 port 39738 on Thu Jun 4 12:21:19 2020.
Info: Connection from 192.168.1.187 port 39738 closed on Thu Jun 4 12:21:20 2020.
Info: Handler with pid 59272 terminated on Thu Jun 4 12:21:20 2020.
Info: Handler started with pid 59296 on Thu Jun 4 12:42:23 2020.
Info: Handling connection from 192.168.1.187 port 39884 on Thu Jun 4 12:42:23 2020.
Info: Connection from 192.168.1.187 port 39884 closed on Thu Jun 4 12:42:24 2020.
Info: Handler with pid 59296 terminated on Thu Jun 4 12:42:24 2020.
Info: Handler started with pid 59312 on Thu Jun 4 13:03:26 2020.
Info: Handling connection from 192.168.1.187 port 40030 on Thu Jun 4 13:03:26 2020.
Info: Connection from 192.168.1.187 port 40030 closed on Thu Jun 4 13:03:27 2020.
Info: Handler with pid 59312 terminated on Thu Jun 4 13:03:27 2020.
I’m running 6.10.12 . I want to say it only started when I updated to Catalina on the Mac but I could be wrong.
Thanks for any help,
Matt
Matt
June 9, 2020 at 09:23 #28063fishermanModeratorPlease can you check your Energy Saver settings as this looks that you options active “Computer sleep” and “Wake for network access”.
June 12, 2020 at 16:58 #28104mv.calderParticipantI thought that the Energy setting had fixed it, but after a few days it started happening again. Just to be clear, I have Sleep set to never (slider all the way to the right) and wake for network access checked.
Matt
August 18, 2020 at 14:48 #29039fishermanModeratorI still did not notice any similar issue.
Can you verify if possibly you have set Energy Saver settings for Power Adapter and used your computer on battery, or client host Energy saver settings?
August 31, 2020 at 08:06 #29231mv.calderParticipantI have all energy settings disabled, that is, set so there should be no interruption. I have noticed one thing though. The restarts have something to do with Xcode. My setup is I use NoMachine to do iOS development on a headless Mac-mini from an Ubuntu laptop. If I just use the browser on the Mac via NoMachine, then there is no problem. But, if I am working in Xcode, every 20 minutes it disconnects. Have you ever heard of that problem?
Matt
September 2, 2020 at 16:16 #29334fishermanModeratorI am using Xcode as well on Mac and did not noticed issue like that.
Is it possible that you have some scheduler related to Xcode, that can triger maybe network disconnection or similar?
-
AuthorPosts
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.