Forum / NoMachine for Linux / Duplicate processes when NoMachine server is running
- This topic has 3 replies, 2 voices, and was last updated 6 years ago by
ticotexas.
-
AuthorPosts
-
October 14, 2019 at 08:45 #23983
ticotexasParticipantIs it normal to have most processes duplicated? It seems like NoMachine has most things running duplicated. All the processes have my username in the System Monitor.
The reason I ask is because the Java process is for something I have called remote-launcher-server that uses a specific port. When NoMachine was running, every time I booted, it would try to start that twice and give an error about the port is “Failed to start server, Address already in use, (Bind Failed)”. Once I stopped NoMachine server from starting, that error stopped, and I noticed no duplicates.
Is there a way to have NoMachine server running, so that I can connect remotely, but avoid this duplicate process issue?
October 14, 2019 at 15:42 #24014
ticotexasParticipantSee attachment.
Attachments:
October 15, 2019 at 08:11 #24019
MthContributorHello.
This doubling of processes is most likely caused by the NoMachine starting the virtual desktop because it cannot detect the physical
desktop and the server.cfg key CreateDisplay is set to 1.To avoid NoMachine creating it on each startup you can edit
/usr/NX/etc/server.cfg
config file and set this key to 0 or comment it.
This key may be set to 1 because when you first connected, NoMachine had no physical session detected, asked to create “Display on demand” (which is simple virtual session). When you select yes, there is a checkbox to select, which will make NoMachine to start this session automatically on startup.
Setting it to 0 will make it stop, but it does not solve the issue that you have running physical desktop and NoMachine did not detect it.
If this key is set to 0 and after doing
# /etc/NX/nxserver –restart
you would not get
NX> 161 Enabled service: nxnode.and you cannot access your desktop, we would require logs
to investigate this further.Article on how to collect logs:
https://www.nomachine.com/DT10O00163 (“How to gather debug logs for support requests”)
After gathering logs, please send them to forum[at]nomachine[dot]com using the title of that forum’s thread as the mail’s subject.
/Mth
October 16, 2019 at 07:43 #24036 -
AuthorPosts
This topic was marked as solved, you can't post.

