Skip to content

NoMachine - Troubleshooting

Cannot Connect Physical Desktop

To check if the nomachine service is running correctly, you can use the following command:

[my-machine ~]$ pstree | grep nx
        |-nxserver.bin-+-nxd-+-nxserver.bin---21*[{nxserver.bin}]
        |              |     `-11*[{nxd}]
        |              |-nxexec---nxnode.bin---14*[{nxnode.bin}]
        |              `-15*[{nxserver.bin}]

Cannot Connect Physical Desktop II

User cannot login to a system because there is no physical Desktop session running.

The user will get a message like this:

A user needs to physically log in to the computer (usually with a gac- account) to start a desktop session. Afterwards the connection is possible again.

Cannot Connect Physical Desktop III

In the case of not being able to connect to the physical desktop of a machine (i.e. the error shown: cannot connect to physical desktop / no physical desktop detected) check following things:

  • On the machine that cannot be accessed, delete or move the ~/.nx folder of the user logged in of the physical session
  • Restart the nxserver process: systemctl restart nxserver

In case this doesn't help also - Check the quota of the user and whether the home directory is writable.

Metrics nx.psi.ch

The metrics of nx.psi.ch can be checked at: https://metrics.psi.ch/d/h3fvKfjVz/nx-overview?from=now-24h&to=now