NoMachine Support

Your questions answered

Knowledge Base

Searching in: Feature Requests
Filter the search results
Target version:
Products:
Status:
Last update:
Searching in: Feature Requests
ID: FR03O03362
Added on:  2017-03-13
Last update: 2020-10-29
Priority: High
Products: NoMachine Server
Target: 7
Status:  Approved
Improving the server mechanism to retrieve the physical display on Linux

In some cases, mainly depending on HW capabilities of the host machine, the NoMachine server's query to look for a running X server in order to make available the physical desktop may be resource-expensive. When this occurs, the ability to start new virtual desktops can be compromised.  

Separating the process for retrieving the local X server from the virtual desktop startup process will prevent similar situations.

A temporary solution to prevent the nxserver.bin process from having high CPU/RAM usage in this case, is to remove the physical desktop session type (if not needed) from the list of available sessions:

1) Remove 'physical-desktop' from the AvailableSessionTypes key in the server.cfg file (/usr/NX/etc/server.cfg)

2) To make the change effective for new sessions, restart the server:

sudo /etc/NX/nxserver --restart

This will terminate all running sessions.

As an alternative to not terminate all running sessions:
   
manually kill the 'nxserver --daemon' process with signal 9:

kill -9 <nxserver --daemon PID>

Be sure to use signal 9 and not signal 15 (default) because signal 15 will shutdown NoMachine on this host and all virtual desktops will be lost.

The nxserver --daemon process should be restarted automatically by the system.

If this doesn't happen, restart the 'nxserver' service manually, for example:

sudo service nxserver start
 


Notify me when the FR is implemented.