Hello.
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