I am using NoMachine on Manjaro. Everytime I boot and connect to my server using ssh, I have to restart NoMachine with the below command (Start the server at System startup is already checked in)
sudo /etc/NX/nxserver –restart
NX> 162 Service: nxd already disabled.
NX> 162 Disabled service: nxserver.
NX> 162 Disabled service: nxnode.
NX> 111 New connections to NoMachine server are enabled.
NX> 161 Enabled service: nxserver.
NX> 161 Enabled service: nxnode.
NX> 161 Enabled service: nxd.
This is the error that I get if I do not use the above command
The remote host ‘xxx.xxx.x.xxx’ refused to establish a network connection on port ‘4000’. Please verify that NoMachine is correctly installed and listening on the port where you are trying to connect, and that incoming traffic is not being blocked by a firewall or NAT.
Can you please help as to how I can avoid manual restart everytime?