
:max_bytes(150000):strip_icc()/sudo-58adef143df78c345bf07196.png)

The nxd service will then be automatically respawned.This can be verified by executing these commands: To do that:ġ) Retrieve pid () of current nxd process from the output of this command:

If for some reasons the nxd service needs to be restarted and the 'nxserver -restart nxd' command doesn't help because of an inconsistent status of the process, it's possible to manually terminate the current nxd process and start a new one.

Connected clients will stay connected to their sessions while nxd is stopped or restarted. Running sessions or disconnected session are not affected by a stopped nxd, just new connection by NX protocol will be not possible. If the nxd service is not running for some reasons, the client will receive a message like this: The Network Server for accepting connection by NX protocol is nxd and is listening on port 4000 by default,
