NoMachine Support

Your questions answered

Knowledge Base

Searching in: Articles & FAQs
Filter the search results
Applies to:
Last update:
Searching in: Articles & FAQs
ID: AR07Q01037
Applies to: NX Software
Added on: 2019-07-09
Last update: 2019-07-09
When is the nxnode service disabled on Linux?

In some cases, when checking the NoMachine server status, the nxnode service looks to be disabled, NoMachine virtual desktops and custom sessions work normally:

sudo /etc/NX/nxserver --status
NX> 161 Enabled service: nxserver.
NX> 162 Disabled service: nxnode.
NX> 161 Enabled service: nxd.

The nxnode service listed above is a daemon necessary for connecting NoMachine users to the physical desktop of that host.

This service is not enabled when NoMachine cannot detect any X server up and running on the system. This happens for example on headless machines.

If connections to the physical desktop are not necessary, this message can be simply ignored:

Disabled service: nxnode.

NoMachine virtual desktops and custom sessions don't need it and are fully working.

 

If connections to the physical desktop are instead necessary:

1) Ensure that a graphical desktop environment (and consequently an X server) is available there.

2) Ensure that the X server is up and running.

3) Verify the AvailableSessionTypes key in the server configuration (/usr/NX/etc/server.cfg) and ensure that the 'physical-desktop' type is listed. If it's not present, add it. For example:

AvailableSessionTypes unix-remote,unix-console,unix-default,unix-application,shadow,unix-xsession-default,unix-gnome,unix-xdm,windows,physical-desktop

4) Apply the same as point 3) to the node configuration /usr/NX/etc/node.cfg.

5) Restart NoMachine

sudo /etc/NX/nxserver --restart

 

If you're using NoMachine free or Enterprise Desktop, you can do the following as an alternative:

1) Ensure that a graphical desktop environment (and consequently an X server) is available there.

2) Edit the server configuration file (/usr/NX/etc/server.cfg), uncomment and set the following keys:

CreateDisplay 1
DisplayOwner "username of an existent user here"

3) Restart NoMachine:

sudo /etc/NX/nxserver --restart

NoMachine will use its own display service (that is an embedded X server) to let users connect seamlessly to the physical desktop.

 

As an alternative:

1) Ensure that the X server is up and running

2) Verify the AvailableSessionTypes key in the server configuration (/usr/NX/etc/server.cfg) and ensure that the 'physical-desktop' type is listed. If it's not present, add it. For example:

AvailableSessionTypes unix-remote,unix-console,unix-default,unix-application,shadow,unix-xsession-default,unix-gnome,unix-xdm,windows,physical-desktop

3) Apply the same as point 2) to the node configuration /usr/NX/etc/node.cfg.

4) Restart NoMachine

sudo /etc/NX/nxserver --restart