"host not found" on nxclient connect to nxserver

Cause: my user couldn’t read /etc/hosts